Class ChannelTypesAttribute
- Namespace
- HeyBox.Interactions
- Assembly
- HeyBox.Net.Interactions.dll
指定 Channel 选项允许的目标频道类型。
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public sealed class ChannelTypesAttribute : Attribute
- Inheritance
-
ChannelTypesAttribute
- Inherited Members
Constructors
ChannelTypesAttribute(params ChannelType[])
指定 Channel 选项允许的目标频道类型。
public ChannelTypesAttribute(params ChannelType[] channelTypes)
Parameters
channelTypes
ChannelType[]此选项允许的频道类型。
Properties
ChannelTypes
获取此选项允许的频道类型。
public IReadOnlyCollection<ChannelType> ChannelTypes { get; }