Interface IApp<THost>
Interface for an application.
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: Unity.AppUI.MVVM.dll
Syntax
public interface IApp<THost> : IApp, IDisposable, IInitializableComponent where THost : class, IHost
Type Parameters
Name | Description |
---|---|
THost | The type of the host. |
Properties
hosts
The hosts of the application.
Declaration
IEnumerable<THost> hosts { get; }
Property Value
Type | Description |
---|---|
IEnumerable<THost> |
Methods
Initialize(IServiceProvider, THost)
Called to initialize the application.
Declaration
void Initialize(IServiceProvider serviceProvider, THost host = null)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The service provider to use. |
THost | host | The host to use. |