SolutionPlatformPart Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Class SolutionAlternativePlatform.
public class SolutionPlatformPart
Name | Description | |
---|---|---|
Constructors | ||
SolutionPlatformPart() | Initializes a new instance of the SolutionPlatformPart class. |
|
SolutionPlatformPart(String) | Initializes a new instance of the SolutionPlatformPart class. |
|
Properties | ||
Alias | Gets or sets the name of the alias. If != null, then this platform is only available in the solution and remapped to the platform with this Alias |
|
Configurations | Gets the configurations supported by this platform (by default contains 'Debug' and 'Release') |
|
Cpu | Gets or sets the CPU name, if this platform is CPU specific. |
|
DisplayName | Gets or sets the display name. If null, use the Name. |
|
ExecutableProjectName | ||
IncludeInSolution | ||
InheritConfigurations | Gets or sets a value indicating whether inherit configurations from parent SolutionPlatform |
|
LibraryProjectName | ||
Name | Gets or sets the name of the alternative platform. |
|
SafeSolutionName | Gets the name of the solution from SolutionName, using Name as a fallback. |
|
SolutionName | Gets or sets the solution name. If null, use the Name |
|
UseWithExecutables | ||
UseWithLibraries | ||
Methods | ||
GetProjectName(ProjectType) | Gets the name of the project configuration from Alias, with SafeSolutionName as a fallback. |
|
IsProjectHandled(ProjectType) | Determines whether the project is handled by this platform. |
|
ToString() |
Constructors
SolutionPlatformPart()
Initializes a new instance of the SolutionPlatformPart class.
public SolutionPlatformPart()
SolutionPlatformPart(String)
Initializes a new instance of the SolutionPlatformPart class.
public SolutionPlatformPart(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | name |
Properties
Alias
Gets or sets the name of the alias. If != null, then this platform is only available in the solution and remapped to the platform with this Alias
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the alias. |
Configurations
Gets the configurations supported by this platform (by default contains 'Debug' and 'Release')
public SolutionConfigurationCollection Configurations { get; }
Property Value
Type | Description |
---|---|
SolutionConfigurationCollection |
Cpu
Gets or sets the CPU name, if this platform is CPU specific.
public string Cpu { get; set; }
Property Value
Type | Description |
---|---|
System.String | The CPU name. |
DisplayName
Gets or sets the display name. If null, use the Name.
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The display name. |
ExecutableProjectName
public string ExecutableProjectName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IncludeInSolution
public bool IncludeInSolution { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InheritConfigurations
Gets or sets a value indicating whether inherit configurations from parent SolutionPlatform
public bool InheritConfigurations { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LibraryProjectName
public string LibraryProjectName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name of the alternative platform.
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
SafeSolutionName
Gets the name of the solution from SolutionName, using Name as a fallback.
public string SafeSolutionName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the safe solution. |
SolutionName
Gets or sets the solution name. If null, use the Name
public string SolutionName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
UseWithExecutables
public bool UseWithExecutables { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseWithLibraries
public bool UseWithLibraries { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetProjectName(ProjectType)
Gets the name of the project configuration from Alias, with SafeSolutionName as a fallback.
public string GetProjectName(ProjectType projectType)
Parameters
Type | Name | Description |
---|---|---|
ProjectType | projectType |
Returns
Type | Description |
---|---|
System.String | The name of the safe solution. |
IsProjectHandled(ProjectType)
Determines whether the project is handled by this platform.
public bool IsProjectHandled(ProjectType projectType)
Parameters
Type | Name | Description |
---|---|---|
ProjectType | projectType | Type of the project. |
Returns
Type | Description |
---|---|
System.Boolean |
|
ToString()
public override string ToString()
Returns
Type | Description |
---|---|
System.String |