Class UsesParameterAttribute
An attribute for annotating the parameters used by a brain or urge class.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class UsesParameterAttribute : Attribute
Remarks
Initializes a new instance of the UsesParameterAttribute class.
Constructors
View SourceUsesParameterAttribute(params string[])
An attribute for annotating the parameters used by a brain or urge class.
Declaration
public UsesParameterAttribute(params string[] parameterNames)
Parameters
Type | Name | Description |
---|---|---|
string[] | parameterNames | An array of parameter names. |
Remarks
Initializes a new instance of the UsesParameterAttribute class.
Properties
View SourceParameterNames
Gets the parameter names used by the annotated class.
Declaration
public IReadOnlyCollection<string> ParameterNames { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<string> |