Show / Hide Table of Contents

    Class ExhaustionContidion

    Class that represents a condition for exhaustion.

    Inheritance
    System.Object
    Priority_Queue.FastPriorityQueueNode
    Priority_Queue.StablePriorityQueueNode
    BaseEvent
    Condition
    ExhaustionContidion
    Implements
    System.IEquatable<BaseEvent>
    ICondition
    IEvent
    Inherited Members
    Condition.Type
    Condition.EndTime
    Condition.CanBeCancelled
    Condition.Execute(IEventContext)
    BaseEvent.Cancelled
    BaseEvent.Expedited
    BaseEvent.Completed
    BaseEvent.EventId
    BaseEvent.RequestorId
    BaseEvent.RepeatAfter
    BaseEvent.HasCancellationHandler
    BaseEvent.HasExpeditionHandler
    BaseEvent.ExcludeFromTelemetry
    BaseEvent.State
    BaseEvent.Cancel()
    BaseEvent.Expedite()
    BaseEvent.Complete(Boolean)
    BaseEvent.Equals(BaseEvent)
    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 Source

    ExhaustionContidion(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 Source

    Pulse(IEventContext)

    Executes the condition's logic.

    Declaration
    protected override void Pulse(IEventContext context)
    Parameters
    Type Name Description
    IEventContext context

    The execution context.

    Overrides
    Condition.Pulse(IEventContext)

    Implements

    System.IEquatable<T>
    ICondition
    IEvent

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.