-
Notifications
You must be signed in to change notification settings - Fork 855
Expand file tree
/
Copy pathModuleManifest.cs
More file actions
89 lines (65 loc) · 2.44 KB
/
ModuleManifest.cs
File metadata and controls
89 lines (65 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
using System.Xml.Serialization;
namespace VirtoCommerce.Platform.Core.Modularity
{
/// <summary>
/// Represents the type into which a module.manifest file will be deserialized.
/// </summary>
[XmlType("module")]
public class ModuleManifest
{
[XmlElement("id")]
public string Id { get; set; }
[XmlElement("version")]
public string Version { get; set; }
[XmlElement("version-tag")]
public string VersionTag { get; set; }
[XmlElement("platformVersion")]
public string PlatformVersion { get; set; }
[XmlElement("title")]
public string Title { get; set; }
[XmlElement("description")]
public string Description { get; set; }
[XmlArray("authors")]
[XmlArrayItem("author")]
public string[] Authors { get; set; }
[XmlArray("owners")]
[XmlArrayItem("owner")]
public string[] Owners { get; set; }
[XmlElement("licenseUrl")]
public string LicenseUrl { get; set; }
[XmlElement("projectUrl")]
public string ProjectUrl { get; set; }
[XmlElement("packageUrl")]
public string PackageUrl { get; set; }
[XmlElement("iconUrl")]
public string IconUrl { get; set; }
[XmlElement("requireLicenseAcceptance")]
public bool RequireLicenseAcceptance { get; set; }
[XmlElement("releaseNotes")]
public string ReleaseNotes { get; set; }
[XmlElement("copyright")]
public string Copyright { get; set; }
[XmlElement("tags")]
public string Tags { get; set; }
[XmlElement("assemblyFile")]
public string AssemblyFile { get; set; }
[XmlElement("moduleType")]
public string ModuleType { get; set; }
[XmlElement("startupType")]
public string StartupType { get; set; }
[XmlArray("dependencies")]
[XmlArrayItem("dependency")]
public ManifestDependency[] Dependencies { get; set; }
[XmlArray("incompatibilities")]
[XmlArrayItem("module")]
public ManifestDependency[] Incompatibilities { get; set; }
[XmlArray("groups")]
[XmlArrayItem("group")]
public string[] Groups { get; set; }
[XmlElement("useFullTypeNameInSwagger")]
public bool UseFullTypeNameInSwagger { get; set; }
[XmlArray("apps")]
[XmlArrayItem("app")]
public ManifestApp[] Apps { get; set; }
}
}