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