Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SolutionPlatformPart Class

    Namespace: Stride.Core.Assets
    Assembly: Stride.Core.Assets.dll

    Class SolutionAlternativePlatform.

    System.Object → SolutionPlatformPart
    Derived from SolutionPlatformPart: SolutionPlatform

    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()
    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    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

    true if [inherit configurations]; otherwise, false.


    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
    | Improve this Doc View Source

    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

    true if the project is handled by this platform; otherwise, false.


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation