PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Platform­Configuration Class

PlatformConfiguration Class

Configures a target platform.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.Extensibility.Configuration.ConfigurationElement
    PostSharp.Sdk.Extensibility.Configuration.PlatformConfiguration

Namespace:  PostSharp.Sdk.Extensibility.Configuration
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
[SerializableAttribute]
public sealed class PlatformConfiguration : ConfigurationElement

The PlatformConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodPlatformConfiguration()
Creates a new uninitialized PlatformConfiguration.
Public methodPlatformConfiguration(String, String)
Initializes a new PlatformConfiguration.
Properties
  NameDescription
Public propertyImplementation
Gets or sets the full name of the type implementing [!:BuildEnvironment].
Public propertyLocation (Inherited from ConfigurationElement.)
Public propertyName
Gets or sets the platform name (primary identifier).
Public propertyParameters
Gets or sets the collection of platform parameters.
Public propertyParent
Gets the parent configuration element.
(Inherited from ConfigurationElement.)
Public propertyRoot
Gets the root configuration element.
(Inherited from ConfigurationElement.)
Public propertyXml (Inherited from ConfigurationElement.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the current configuration element.
(Inherited from ConfigurationElement.)
Remarks
A target platform is primarily defined by an implementation class, and optionally by some parameters.
See Also