Search Results for

    Show / Hide Table of Contents

    Interface IStudioEventAggregator

    The contract defining the event aggregator.

    Namespace: Sdl.Desktop.IntegrationApi.Interfaces
    Assembly: Sdl.Desktop.IntegrationApi.dll
    Syntax
    public interface IStudioEventAggregator

    Methods

    GetEvent<TEvent>()

    Returns the event for which to subscribe

    Declaration
    IObservable<TEvent> GetEvent<TEvent>()
    Returns
    Type Description
    System.IObservable<TEvent>
    Type Parameters
    Name Description
    TEvent

    Publish<TEvent>(TEvent)

    Publishes the given event to all subscribers

    Declaration
    void Publish<TEvent>(TEvent sampleEvent)
    Parameters
    Type Name Description
    TEvent sampleEvent
    Type Parameters
    Name Description
    TEvent

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Methods
      • GetEvent<TEvent>()
      • Publish<TEvent>(TEvent)
    • Extension Methods
    Back to top Generated by DocFX