Class AbstractApplication
Base class for the application
Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Sdl.Desktop.IntegrationApi
Assembly: Sdl.Desktop.IntegrationApi.dll
Syntax
public abstract class AbstractApplicationConstructors
AbstractApplication()
Initialize the instance of this class
Declaration
protected AbstractApplication()Methods
ExecuteAction<TAction>()
Execute the requested action
Declaration
public virtual void ExecuteAction<TAction>()
    where TAction : AbstractActionType Parameters
| Name | Description | 
|---|---|
| TAction | The requested action by type. | 
GetAction<TAction>()
Gets the requested action.
Declaration
public virtual TAction GetAction<TAction>()
    where TAction : AbstractActionReturns
| Type | Description | 
|---|---|
| TAction | The action requested or null if none was found. | 
Type Parameters
| Name | Description | 
|---|---|
| TAction | The requested action by type. | 
GetController<TController>()
Gets the requested controller. This supports getting view or view part controllers.
Declaration
public virtual TController GetController<TController>()
    where TController : AbstractControllerReturns
| Type | Description | 
|---|---|
| TController | The controller of type T requested. | 
Type Parameters
| Name | Description | 
|---|---|
| TController | the type of the requested controller | 
GetService<T>()
Gets the requested service.
Declaration
public T GetService<T>()Returns
| Type | Description | 
|---|---|
| T | The service requested or null if none was found. | 
Type Parameters
| Name | Description | 
|---|---|
| T | The requested service by type. | 
RegisterRelay(IStudioWindow)
Initializes services when the window is created
Declaration
protected virtual void RegisterRelay(IStudioWindow window)Parameters
| Type | Name | Description | 
|---|---|---|
| Sdl.Desktop.Platform.IStudioWindow | window | 
Events
Closing
Triggered when the application is closing
Declaration
public event EventHandler<CancelEventArgs> ClosingEvent Type
| Type | Description | 
|---|---|
| System.EventHandler<System.ComponentModel.CancelEventArgs> |