PackageMeta Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Metadata for a Package accessible from PackageMeta.
[DataContract("PackageMeta")]
public sealed class PackageMeta
              | Name | Description | |
|---|---|---|
| Constructors | ||
| PackageMeta() | Initializes a new instance of the PackageMeta class.  | 
                          |
| Properties | ||
| Authors | Gets the authors.  | 
                          |
| Copyright | Gets or sets the copyright.  | 
                          |
| Dependencies | Gets the package dependencies.  | 
                          |
| Description | Gets or sets the description of this package.  | 
                          |
| DownloadCount | Gets the download count. Only valid for store packages.  | 
                          |
| IconUrl | Gets or sets the icon URL.  | 
                          |
| Language | Gets or sets the language supported by this package.  | 
                          |
| LicenseUrl | Gets or sets the license URL.  | 
                          |
| Listed | Gets a value indicating whether this PackageMeta is listed.  | 
                          |
| Name | Gets or sets the identifier name of this package.  | 
                          |
| Owners | Gets the owners.  | 
                          |
| ProjectUrl | Gets or sets the project URL.  | 
                          |
| Published | Gets the published time.  | 
                          |
| ReleaseNotes | Gets or sets the release notes of this package.  | 
                          |
| ReportAbuseUrl | Gets the report abuse URL. Only valid for store packages.  | 
                          |
| RequireLicenseAcceptance | Gets or sets a value indicating whether it requires license acceptance.  | 
                          |
| RootNamespace | Gets or sets the default namespace for this package.  | 
                          |
| Summary | Gets or sets the summary of this package.  | 
                          |
| Tags | Gets or sets the tags associated to this package.  | 
                          |
| Title | Gets or sets the title.  | 
                          |
| Version | Gets or sets the version of this package.  | 
                          |
| Methods | ||
| NewDefault(String) | Creates a new PackageMeta with default values.  | 
                          |
Constructors
PackageMeta()
Initializes a new instance of the PackageMeta class.
public PackageMeta()
              Properties
Authors
Gets the authors.
[DataMember(40)]
public List<string> Authors { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<System.String> | The authors.  | 
                  
Copyright
Gets or sets the copyright.
[DataMember(150)]
public string Copyright { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The copyright.  | 
                  
Dependencies
Gets the package dependencies.
[DataMember(160)]
public PackageDependencyCollection Dependencies { get; }
              Property Value
| Type | Description | 
|---|---|
| PackageDependencyCollection | The package dependencies.  | 
                  
Description
Gets or sets the description of this package.
[DataMember(100)]
public string Description { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The description.  | 
                  
DownloadCount
Gets the download count. Only valid for store packages.
public long DownloadCount { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Int64 | The download count.  | 
                  
IconUrl
Gets or sets the icon URL.
[DataMember(60)]
public Uri IconUrl { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Uri | The icon URL.  | 
                  
Language
Gets or sets the language supported by this package.
[DataMember(130)]
public string Language { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The language.  | 
                  
LicenseUrl
Gets or sets the license URL.
[DataMember(70)]
public Uri LicenseUrl { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Uri | The license URL.  | 
                  
Listed
Gets a value indicating whether this PackageMeta is listed.
public bool Listed { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
  | 
                  
Name
Gets or sets the identifier name of this package.
[DataMember(10)]
public string Name { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The name.  | 
                  
Owners
Gets the owners.
[DataMember(50)]
public List<string> Owners { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<System.String> | The owners.  | 
                  
ProjectUrl
Gets or sets the project URL.
[DataMember(80)]
public Uri ProjectUrl { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Uri | The project URL.  | 
                  
Published
Gets the published time.
public DateTimeOffset? Published { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.DateTimeOffset> | The published.  | 
                  
ReleaseNotes
Gets or sets the release notes of this package.
[DataMember(120)]
public string ReleaseNotes { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The release notes.  | 
                  
ReportAbuseUrl
Gets the report abuse URL. Only valid for store packages.
public Uri ReportAbuseUrl { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Uri | The report abuse URL.  | 
                  
RequireLicenseAcceptance
Gets or sets a value indicating whether it requires license acceptance.
[DataMember(90)]
public bool RequireLicenseAcceptance { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
  | 
                  
RootNamespace
Gets or sets the default namespace for this package.
[DataMember(155)]
public string RootNamespace { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The default namespace.  | 
                  
Summary
Gets or sets the summary of this package.
[DataMember(110)]
public string Summary { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The summary.  | 
                  
Tags
Gets or sets the tags associated to this package.
[DataMember(140)]
public string Tags { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The tags.  | 
                  
Title
Gets or sets the title.
[DataMember(30)]
public string Title { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.String | The title.  | 
                  
Version
Gets or sets the version of this package.
[DataMember(20)]
public PackageVersion Version { get; set; }
              Property Value
| Type | Description | 
|---|---|
| Stride.Core.PackageVersion | The version.  | 
                  
Methods
NewDefault(String)
Creates a new PackageMeta with default values.
public static PackageMeta NewDefault(string packageName)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | packageName | Name of the package.  | 
                  
Returns
| Type | Description | 
|---|---|
| PackageMeta | PackageMeta.  | 
                  
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | packageName  |