Class NotificationContext
Class that represents a context for notifications.
Inherited Members
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 SourceNotificationContext(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 SourceCreatureFinder
Gets the creature finder in use.
Declaration
public ICreatureFinder CreatureFinder { get; }
Property Value
Type | Description |
---|---|
ICreatureFinder |
MapDescriptor
Gets the map descriptor in use.
Declaration
public IMapDescriptor MapDescriptor { get; }
Property Value
Type | Description |
---|---|
IMapDescriptor |