Show / Hide Table of Contents

    Class NotificationContext

    Class that represents a context for notifications.

    Inheritance
    System.Object
    EventContext
    NotificationContext
    Implements
    INotificationContext
    IEventContext
    Inherited Members
    EventContext.Logger
    EventContext.CurrentTime
    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.Notifications
    Assembly: Fibula.Mechanics.dll
    Syntax
    public class NotificationContext : EventContext, INotificationContext, IEventContext

    Constructors

    | Improve this Doc View Source

    NotificationContext(ILogger, IMapDescriptor, ICreatureFinder)

    Initializes a new instance of the NotificationContext class.

    Declaration
    public NotificationContext(ILogger logger, IMapDescriptor mapDescriptor, ICreatureFinder creatureFinder)
    Parameters
    Type Name Description
    Serilog.ILogger logger

    A reference to the logger in use.

    IMapDescriptor mapDescriptor

    A reference to the map descriptor in use.

    ICreatureFinder creatureFinder

    A reference to the creature finder in use.

    Properties

    | Improve this Doc View Source

    CreatureFinder

    Gets the creature finder in use.

    Declaration
    public ICreatureFinder CreatureFinder { get; }
    Property Value
    Type Description
    ICreatureFinder
    | Improve this Doc View Source

    MapDescriptor

    Gets the map descriptor in use.

    Declaration
    public IMapDescriptor MapDescriptor { get; }
    Property Value
    Type Description
    IMapDescriptor

    Implements

    INotificationContext
    IEventContext

    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.