Search Results for

    Show / Hide Table of Contents

    Class ChannelTypesAttribute

    Defines allowed channel types for a channel parameter.

    Inheritance
    System.Object
    System.Attribute
    ChannelTypesAttribute
    Namespace: DisCatSharp.ApplicationCommands.Attributes
    Assembly: DisCatSharp.ApplicationCommands.dll
    Syntax
    [AttributeUsage(AttributeTargets.Parameter)]
    public class ChannelTypesAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    ChannelTypesAttribute(ChannelType[])

    Defines allowed channel types for a channel parameter.

    Declaration
    public ChannelTypesAttribute(params ChannelType[] channelTypes)
    Parameters
    Type Name Description
    ChannelType[] channelTypes

    The channel types to allow.

    Properties

    | Improve this Doc View Source

    ChannelTypes

    Allowed channel types.

    Declaration
    public IEnumerable<ChannelType> ChannelTypes { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<ChannelType>

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems