logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FakeEventDispatcherService

    No-op IEventDispatcherService implementation for testing.

    Inheritance
    object
    FakeEventDispatcherService
    Implements
    IEventDispatcherService
    IService
    IFoundationSettings
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Tests.Shared.Fakes
    Assembly: Tests.dll
    Syntax
    public class FakeEventDispatcherService : IEventDispatcherService, IService, IFoundationSettings

    Constructors

    FakeEventDispatcherService()

    Declaration
    public FakeEventDispatcherService()

    Properties

    Guid

    Declaration
    public string Guid { get; set; }
    Property Value
    Type Description
    string

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    LogService

    Declaration
    public ILogService LogService { get; set; }
    Property Value
    Type Description
    ILogService

    Methods

    Dispatch(IEventDispatcherSignalDefinition)

    Declaration
    public void Dispatch(IEventDispatcherSignalDefinition signalDefinition)
    Parameters
    Type Name Description
    IEventDispatcherSignalDefinition signalDefinition

    Dispatch(EventDispatcherSignal, Type)

    Declaration
    public void Dispatch(EventDispatcherSignal signal, Type type)
    Parameters
    Type Name Description
    EventDispatcherSignal signal
    Type type

    Dispatch<T>(T)

    Declaration
    public void Dispatch<T>(T signal) where T : EventDispatcherSignal
    Parameters
    Type Name Description
    T signal
    Type Parameters
    Name Description
    T

    Subscribe<T>(EventDispatcherSignalDelegate)

    Declaration
    public void Subscribe<T>(EventDispatcherSignalDelegate callback) where T : EventDispatcherSignal
    Parameters
    Type Name Description
    EventDispatcherSignalDelegate callback
    Type Parameters
    Name Description
    T

    Unsubscribe<T>(EventDispatcherSignalDelegate)

    Declaration
    public void Unsubscribe<T>(EventDispatcherSignalDelegate callback) where T : EventDispatcherSignal
    Parameters
    Type Name Description
    EventDispatcherSignalDelegate callback
    Type Parameters
    Name Description
    T

    Implements

    IEventDispatcherService
    IService
    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved