Namespace Unity.AppUI.MVVM
Classes
App
A base class to implement an App instance using UI Toolkit.
AppBuilder
A builder to create an App instance with required services.
AppUIServiceCollection
A service collection for App Ui applications.
AsyncRelayCommand
A command that mirrors the functionality of RelayCommand, with the addition of accepting a Func<TResult> returning a Task as the execute action, and providing an executionTask property that notifies changes when ExecuteAsync(object?) is invoked and when the returned Task completes.
AsyncRelayCommand<T>
A generic command that provides a more specific version of AsyncRelayCommand.
ObservableObject
A base class for objects of which the properties must be observable.
RelayCommand
A command whose sole purpose is to relay its functionality to other objects by invoking delegates. The default return value for the CanExecute(object?) method is true. This type does not allow you to accept command parameters in the Execute(object?) and CanExecute(object?) callback methods.
RelayCommand<T>
Implementation of IRelayCommand that allows for CommandParameter to be passed in.
ServiceAttribute
The ServiceAttribute is used to mark a field or a property as a service instance. This attribute is used by the dependency injection system from the MVVM framework to inject services into the ViewModel (or any others kinds of service).
ServiceCollection
Default implementation of IServiceCollection.
ServiceDescriptor
Describes a service with its service type, implementation, and lifetime.
ServiceProvider
The default IServiceProvider.
ServiceProviderExtensions
Extension methods for IServiceProvider.
ServicesCollectionExtensions
Extension methods for IServiceCollection.
UIToolkitAppBuilder<T>
A MonoBehaviour that can be used to build and host an app in a UIDocument.
This class is intended to be used as a base class for a MonoBehaviour that is attached to a GameObject in a scene.
UIToolkitHost
A class used to host an app in a UIDocument.
This is a wrapper around a UIDocument that implements IUIToolkitHost.
Interfaces
IApp
Interface for an application.
IAppBuilder
Interface for an application builder.
IApp<THostType>
Interface for an application.
IAsyncRelayCommand
An interface expanding IRelayCommand to support asynchronous operations.
IAsyncRelayCommand<T>
A generic interface representing a more specific version of IAsyncRelayCommand.
IDependencyInjectionListener
Use this interface to be notified when all dependencies have been injected into your service.
IHost
Interface for a host of a MVVM application.
IInitializableComponent
Interface for components that need to be initialized.
IRelayCommand
An interface expanding ICommand with the ability to raise the ICommand.CanExecuteChanged event externally.
IRelayCommand<T>
A generic interface representing a more specific version of IRelayCommand.
IServiceCollection
Specifies the contract for a collection of service descriptors.
IUIToolkitApp
Interface for the application using UI Toolkit.
IUIToolkitHost
Interface for the host of the application interface using UI Toolkit.
Enums
AsyncRelayCommandOptions
Options for AsyncRelayCommand.
ServiceLifetime
The lifetime of a service.