Class SolutionPlatform
Defines a solution platform.
[DataContract("SolutionPlatform")]
public class SolutionPlatform : SolutionPlatformPart
- Inheritance
-
SolutionPlatform
- Inherited Members
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
IsAvailable
Gets or sets a value indicating whether this SolutionPlatform is available on this machine.
[DataMember(50)]
public bool IsAvailable { get; set; }
Property Value
- bool
true
if available; otherwise,false
.
PlatformsPart
Gets the alternative names that will appear in the .sln file equivalent to this platform.
[DataMember(20)]
public SolutionPlatformPartCollection PlatformsPart { get; }
Property Value
- SolutionPlatformPartCollection
The alternative names.
RuntimeIdentifier
Gets or sets the runtime identifier.
[DataMember(35)]
public string RuntimeIdentifier { get; set; }
Property Value
- string
The runtime identifier.
TargetFramework
Gets or sets the type of the platform.
[DataMember(35)]
public string TargetFramework { get; set; }
Property Value
- 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
Gets or sets the type of the platform.
[DataMember(30)]
public PlatformType Type { get; set; }
Property Value
- PlatformType
The type.
Methods
GetConfigurationProperties(SolutionPlatformPart, string)
public IEnumerable<string> GetConfigurationProperties(SolutionPlatformPart part, string configuration)
Parameters
part
SolutionPlatformPartconfiguration
string
Returns
GetParts()
Gets the all SolutionPlatformPart.
public IEnumerable<SolutionPlatformPart> GetParts()
Returns
- IEnumerable<SolutionPlatformPart>
IEnumerable<SolutionPlatformPart>.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.