AssemblyHasScriptsAttribute
Attribute that determines that the assembly contains Reckfell scripts and, optionally, the collection of types that implement scripts; otherwise, retrieving the types requires lookup.
Attribute that determines that the assembly contains Reckfell scripts and, optionally, the collection of types that implement scripts; otherwise, retrieving the types requires lookup.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors2
AssemblyHasScriptsAttribute2 overloads
public AssemblyHasScriptsAttribute();Constructs a new AssemblyHasScriptsAttribute instance that requires lookup to get the Reckfell scripts.
public AssemblyHasScriptsAttribute(Type[] scriptTypes);Constructs a new AssemblyHasScriptsAttribute instance that includes the Reckfell script types and requires no lookup.
| Name | Type | Default |
|---|---|---|
scriptTypes | Type[] | — |
scriptTypesThe collection of types that implement a Reckfell script.
Properties2
RequiresLookupProperty
public bool RequiresLookup { get; }If the Reckfell scripts contained in the assembly require lookup
and can't rely on AssemblyHasScriptsAttribute.ScriptTypes.
ScriptTypesProperty
public Type[]? ScriptTypes { get; }The collection of types that implement a Reckfell script.