Class WinPackageInfo
Package info for Windows platforms.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Applications
Assembly: DeviceConsole.Environments.dll
Syntax
public class WinPackageInfo
Constructors
View SourceWinPackageInfo(string, string, string, PackageOrigin, string, Version, IEnumerable<string>)
Initializes a new instance of the WinPackageInfo class.
Declaration
public WinPackageInfo(string displayName, string familyName, string fullName, WinPackageInfo.PackageOrigin origin, string publisher, Version version, IEnumerable<string> applications)
Parameters
Type | Name | Description |
---|---|---|
string | displayName | The display name of the package. |
string | familyName | The family name of the package. |
string | fullName | The full name of the package. |
WinPackageInfo.PackageOrigin | origin | The origin of the package. |
string | publisher | The publisher of the package. |
Version | version | The package version. |
IEnumerable<string> | applications | The application ids in the package. |
Properties
View SourceApplications
Gets the applications ids in the package.
Declaration
public IReadOnlyList<string> Applications { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<string> |
DisplayName
Gets the display name of the package.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
string |
FamilyName
Gets the family name of the package.
Declaration
public string FamilyName { get; }
Property Value
Type | Description |
---|---|
string |
FullName
Gets the full name of the package.
Declaration
public string FullName { get; }
Property Value
Type | Description |
---|---|
string |
Origin
Gets the origin of the package.
Declaration
public WinPackageInfo.PackageOrigin Origin { get; }
Property Value
Type | Description |
---|---|
WinPackageInfo.PackageOrigin |
Publisher
Gets the publisher of the package.
Declaration
public string Publisher { get; }
Property Value
Type | Description |
---|---|
string |
Version
Gets the version of the package.
Declaration
public Version Version { get; }
Property Value
Type | Description |
---|---|
Version |
Methods
View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |