docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IApp<THost>

    Interface for an application.

    Inherited Members
    IApp.services
    IApp.Shutdown()
    IDisposable.Dispose()
    IInitializableComponent.InitializeComponent()
    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)