Class TargetPlatformAttribute
Defines the targeted platform for this component.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class TargetPlatformAttribute : Attribute
Constructors
TargetPlatformAttribute(Platform)
Initializes a new instance of the TargetPlatformAttribute class.
Declaration
public TargetPlatformAttribute(Platform platform)
Parameters
Type | Name | Description |
---|---|---|
Platform | platform | The target platform. |
Properties
TargetPlatform
Gets the target platform.
Declaration
public Platform TargetPlatform { get; }
Property Value
Type | Description |
---|---|
Platform |