Interface IStudioEventAggregator
  The contract defining the event aggregator.
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 | 
    
    
      
        | IObservable<TEvent> |  | 
    
  
  Type Parameters
  
  
  Publish<TEvent>(TEvent)
  Publishes the given event to all subscribers
Declaration
  
    void Publish<TEvent>(TEvent sampleEvent)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | TEvent | sampleEvent |  | 
    
  
  Type Parameters
  
  Extension Methods