Class BooleanActivationRequirement
Evaluates to true or false by returning the value of ActivationMet
Implements
Namespace: Artemis.Core.Modules
Assembly: Artemis.Core.dll
Syntax
public class BooleanActivationRequirement : IModuleActivationRequirement
Constructors
BooleanActivationRequirement()
Declaration
public BooleanActivationRequirement()
Properties
ActivationMet
Gets or sets whether the activation requirement is met
Declaration
public bool ActivationMet { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Evaluate()
Called to determine whether the activation requirement is met
Declaration
public bool Evaluate()
Returns
Type | Description |
---|---|
bool |
GetUserFriendlyDescription()
Returns a user-friendly description of the activation requirement, should include parameters if applicable
Declaration
public string GetUserFriendlyDescription()
Returns
Type | Description |
---|---|
string | A user-friendly description of the activation requirement |