SolutionPlatform Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Defines a solution platform.
[DataContract("SolutionPlatform")]
public class SolutionPlatform : SolutionPlatformPart
| Name | Description | |
|---|---|---|
| Constructors | ||
| SolutionPlatform() | Initializes a new instance of the SolutionPlatform class. |
|
| Properties | ||
| DefineConstants | Gets the define constants that will be used by the csproj of the platform. |
|
| IsAvailable | Gets or sets a value indicating whether this SolutionPlatform is available on this machine. |
|
| PlatformsPart | Gets the alternative names that will appear in the .sln file equivalent to this platform. |
|
| RuntimeIdentifier | Gets or sets the runtime identifier. |
|
| TargetFramework | Gets or sets the type of the platform. |
|
| Templates | The list of templates. If empty, no choice will be given to user and default one will be created by concatening ProjectExecutable and Name. |
|
| Type | Gets or sets the type of the platform. |
|
| Methods | ||
| GetConfigurationProperties(SolutionPlatformPart, String) | ||
| GetParts() | Gets the all SolutionPlatformPart. |
|
| ToString() | ||
Constructors
SolutionPlatform()
Initializes a new instance of the SolutionPlatform class.
public SolutionPlatform()
Properties
DefineConstants
Gets the define constants that will be used by the csproj of the platform.
[DataMember(40)]
public List<string> DefineConstants { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> | The define constants. |
IsAvailable
Gets or sets a value indicating whether this SolutionPlatform is available on this machine.
[DataMember(50)]
public bool IsAvailable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
PlatformsPart
Gets the alternative names that will appear in the .sln file equivalent to this platform.
[DataMember(20)]
public SolutionPlatformPartCollection PlatformsPart { get; }
Property Value
| Type | Description |
|---|---|
| SolutionPlatformPartCollection | The alternative names. |
RuntimeIdentifier
Gets or sets the runtime identifier.
[DataMember(35)]
public string RuntimeIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The runtime identifier. |
TargetFramework
Gets or sets the type of the platform.
[DataMember(35)]
public string TargetFramework { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The type. |
Templates
The list of templates. If empty, no choice will be given to user and default one will be created by concatening ProjectExecutable and Name.
[DataMember(60)]
public List<SolutionPlatformTemplate> Templates { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<SolutionPlatformTemplate> |
Type
Gets or sets the type of the platform.
[DataMember(30)]
public PlatformType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| PlatformType | The type. |
Methods
GetConfigurationProperties(SolutionPlatformPart, String)
public IEnumerable<string> GetConfigurationProperties(SolutionPlatformPart part, string configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| SolutionPlatformPart | part | |
| System.String | configuration |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<System.String> |
GetParts()
Gets the all SolutionPlatformPart.
public IEnumerable<SolutionPlatformPart> GetParts()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<SolutionPlatformPart> | IEnumerable<SolutionPlatformPart>. |
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |