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.
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.
IAsyncRelayCommand
An interface expanding IRelayCommand to support asynchronous operations.
IAsyncRelayCommand<T>
A generic interface representing a more specific version of IAsyncRelayCommand.
IHost
Interface for a host of a MVVM application.
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.