Class ExhaustionContidion
Class that represents a condition for exhaustion.
Inheritance
System.Object
Priority_Queue.FastPriorityQueueNode
Priority_Queue.StablePriorityQueueNode
ExhaustionContidion
Inherited Members
Priority_Queue.StablePriorityQueueNode.InsertionIndex
Priority_Queue.FastPriorityQueueNode.Priority
Priority_Queue.FastPriorityQueueNode.QueueIndex
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Mechanics.Conditions
Assembly: Fibula.Mechanics.dll
Syntax
public class ExhaustionContidion : Condition, IEquatable<BaseEvent>, ICondition, IEvent
Constructors
| Improve this Doc View SourceExhaustionContidion(ConditionType, DateTimeOffset)
Initializes a new instance of the ExhaustionContidion class.
Declaration
public ExhaustionContidion(ConditionType conditionType, DateTimeOffset endTime)
Parameters
Type | Name | Description |
---|---|---|
ConditionType | conditionType | The type of exhaustion. |
System.DateTimeOffset | endTime | The date and time at which the condition is set to end. |
Methods
| Improve this Doc View SourcePulse(IEventContext)
Executes the condition's logic.
Declaration
protected override void Pulse(IEventContext context)
Parameters
Type | Name | Description |
---|---|---|
IEventContext | context | The execution context. |
Overrides
Implements
System.IEquatable<T>