Class AbstractDeclarable
public abstract class AbstractDeclarable : IDeclarable
- Inheritance
-
AbstractDeclarable
- Implements
- Derived
- Inherited Members
Constructors
AbstractDeclarable(Dictionary<string, object>)
protected AbstractDeclarable(Dictionary<string, object> arguments)
Parameters
arguments
Dictionary<string, object>
Fields
_declaringAdmins
protected List<object> _declaringAdmins
Field Value
Properties
Arguments
Gets or sets the arguments for this declarable
public Dictionary<string, object> Arguments { get; set; }
Property Value
DeclaringAdmins
Gets or sets a collection of Admins that should declare this object
public List<object> DeclaringAdmins { get; set; }
Property Value
IgnoreDeclarationExceptions
Gets or sets a value indicating whether should ignore exceptions
public bool IgnoreDeclarationExceptions { get; set; }
Property Value
ShouldDeclare
Gets or sets a value indicating whether this object should be declared
public bool ShouldDeclare { get; set; }
Property Value
Methods
AddArgument(string, object)
Adds an argument to the declarable
public void AddArgument(string name, object value)
Parameters
RemoveArgument(string)
Remove an argument from the declarable
public object RemoveArgument(string name)
Parameters
name
stringthe argument name
Returns
- object
the value if present
SetAdminsThatShouldDeclare(params object[])
public virtual void SetAdminsThatShouldDeclare(params object[] adminArgs)
Parameters
adminArgs
object[]