Table of Contents

Class ComplexParameterAttribute

Namespace
HeyBox.Interactions
Assembly
HeyBox.Net.Interactions.dll

将参数注册为复杂参数。

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class ComplexParameterAttribute : Attribute
Inheritance
ComplexParameterAttribute
Inherited Members

Constructors

ComplexParameterAttribute()

将斜线命令参数注册为复杂参数。

public ComplexParameterAttribute()

ComplexParameterAttribute(Type[])

将斜线命令参数注册为具有指定构造方法签名的复杂参数。

public ComplexParameterAttribute(Type[] types)

Parameters

types Type[]

首选构造方法参数的类型数组。

Properties

PrioritizedCtorSignature

获取应优先使用的构造方法参数数组。

public Type[]? PrioritizedCtorSignature { get; }

Property Value

Type[]