Show / Hide Table of Contents

    Class CommandPlatformAttribute

    Determines which platforms the command is available on. Supersedes platform availability determined in the [Command].

    Inheritance
    Object
    Attribute
    CommandPlatformAttribute
    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public sealed class CommandPlatformAttribute : Attribute, _Attribute

    Constructors

    CommandPlatformAttribute(Platform)

    Declaration
    public CommandPlatformAttribute(Platform supportedPlatforms)
    Parameters
    Type Name Description
    Platform supportedPlatforms

    Fields

    SupportedPlatforms

    Declaration
    public readonly Platform SupportedPlatforms
    Field Value
    Type Description
    Platform

    Extension Methods

    ArraySingleExtensions.AsArraySingle<T>(T)
    CollectionExtensions.Yield<T>(T)
    Quantum Console by QFSW
    Back to top