55namespace Umbraco . Cms . Core . Manifest ;
66
77/// <summary>
8- /// Represents the content of a package manifest.
8+ /// Represents the content of a package manifest.
99/// </summary>
1010[ DataContract ]
1111public class PackageManifest
1212{
1313 private string ? _packageName ;
1414
1515 /// <summary>
16- /// An optional package name . If not specified then the directory name is used .
16+ /// Gets or sets the name of the package . If not specified, uses the directory name instead .
1717 /// </summary>
18+ /// <value>
19+ /// The name of the package.
20+ /// </value>
1821 [ DataMember ( Name = "name" ) ]
1922 public string ? PackageName
2023 {
@@ -35,81 +38,132 @@ public string? PackageName
3538 set => _packageName = value ;
3639 }
3740
41+ /// <summary>
42+ /// Gets or sets the package view.
43+ /// </summary>
44+ /// <value>
45+ /// The package view.
46+ /// </value>
3847 [ DataMember ( Name = "packageView" ) ]
3948 public string ? PackageView { get ; set ; }
4049
4150 /// <summary>
42- /// Gets the source path of the manifest.
51+ /// Gets or sets the source path of the manifest.
4352 /// </summary>
53+ /// <value>
54+ /// The source path.
55+ /// </value>
4456 /// <remarks>
45- /// <para>
46- /// Gets the full absolute file path of the manifest,
47- /// using system directory separators.
48- /// </para>
57+ /// Gets the full/absolute file path of the manifest, using system directory separators.
4958 /// </remarks>
5059 [ IgnoreDataMember ]
5160 public string Source { get ; set ; } = null ! ;
5261
5362 /// <summary>
54- /// Gets or sets the version of the package
63+ /// Gets or sets the version of the package.
5564 /// </summary>
65+ /// <value>
66+ /// The version of the package.
67+ /// </value>
5668 [ DataMember ( Name = "version" ) ]
5769 public string Version { get ; set ; } = string . Empty ;
5870
5971 /// <summary>
60- /// Gets or sets a value indicating whether telemetry is allowed
72+ /// Gets or sets the assembly name to get the package version from.
6173 /// </summary>
74+ /// <value>
75+ /// The assembly name to get the package version from.
76+ /// </value>
77+ [ DataMember ( Name = "versionAssemblyName" ) ]
78+ public string ? VersionAssemblyName { get ; set ; }
79+
80+ /// <summary>
81+ /// Gets or sets a value indicating whether telemetry is allowed.
82+ /// </summary>
83+ /// <value>
84+ /// <c>true</c> if package telemetry is allowed; otherwise, <c>false</c>.
85+ /// </value>
6286 [ DataMember ( Name = "allowPackageTelemetry" ) ]
6387 public bool AllowPackageTelemetry { get ; set ; } = true ;
6488
89+ /// <summary>
90+ /// Gets or sets the bundle options.
91+ /// </summary>
92+ /// <value>
93+ /// The bundle options.
94+ /// </value>
6595 [ DataMember ( Name = "bundleOptions" ) ]
6696 public BundleOptions BundleOptions { get ; set ; }
6797
6898 /// <summary>
69- /// Gets or sets the scripts listed in the manifest.
99+ /// Gets or sets the scripts listed in the manifest.
70100 /// </summary>
101+ /// <value>
102+ /// The scripts.
103+ /// </value>
71104 [ DataMember ( Name = "javascript" ) ]
72105 public string [ ] Scripts { get ; set ; } = Array . Empty < string > ( ) ;
73106
74107 /// <summary>
75- /// Gets or sets the stylesheets listed in the manifest.
108+ /// Gets or sets the stylesheets listed in the manifest.
76109 /// </summary>
110+ /// <value>
111+ /// The stylesheets.
112+ /// </value>
77113 [ DataMember ( Name = "css" ) ]
78114 public string [ ] Stylesheets { get ; set ; } = Array . Empty < string > ( ) ;
79115
80116 /// <summary>
81- /// Gets or sets the property editors listed in the manifest.
117+ /// Gets or sets the property editors listed in the manifest.
82118 /// </summary>
119+ /// <value>
120+ /// The property editors.
121+ /// </value>
83122 [ DataMember ( Name = "propertyEditors" ) ]
84123 public IDataEditor [ ] PropertyEditors { get ; set ; } = Array . Empty < IDataEditor > ( ) ;
85124
86125 /// <summary>
87- /// Gets or sets the parameter editors listed in the manifest.
126+ /// Gets or sets the parameter editors listed in the manifest.
88127 /// </summary>
128+ /// <value>
129+ /// The parameter editors.
130+ /// </value>
89131 [ DataMember ( Name = "parameterEditors" ) ]
90132 public IDataEditor [ ] ParameterEditors { get ; set ; } = Array . Empty < IDataEditor > ( ) ;
91133
92134 /// <summary>
93- /// Gets or sets the grid editors listed in the manifest.
135+ /// Gets or sets the grid editors listed in the manifest.
94136 /// </summary>
137+ /// <value>
138+ /// The grid editors.
139+ /// </value>
95140 [ DataMember ( Name = "gridEditors" ) ]
96141 public GridEditor [ ] GridEditors { get ; set ; } = Array . Empty < GridEditor > ( ) ;
97142
98143 /// <summary>
99- /// Gets or sets the content apps listed in the manifest.
144+ /// Gets or sets the content apps listed in the manifest.
100145 /// </summary>
146+ /// <value>
147+ /// The content apps.
148+ /// </value>
101149 [ DataMember ( Name = "contentApps" ) ]
102150 public ManifestContentAppDefinition [ ] ContentApps { get ; set ; } = Array . Empty < ManifestContentAppDefinition > ( ) ;
103151
104152 /// <summary>
105- /// Gets or sets the dashboards listed in the manifest.
153+ /// Gets or sets the dashboards listed in the manifest.
106154 /// </summary>
155+ /// <value>
156+ /// The dashboards.
157+ /// </value>
107158 [ DataMember ( Name = "dashboards" ) ]
108159 public ManifestDashboard [ ] Dashboards { get ; set ; } = Array . Empty < ManifestDashboard > ( ) ;
109160
110161 /// <summary>
111- /// Gets or sets the sections listed in the manifest.
162+ /// Gets or sets the sections listed in the manifest.
112163 /// </summary>
164+ /// <value>
165+ /// The sections.
166+ /// </value>
113167 [ DataMember ( Name = "sections" ) ]
114168 public ManifestSection [ ] Sections { get ; set ; } = Array . Empty < ManifestSection > ( ) ;
115169}
0 commit comments