Table of Contents

Interface IViewModelFactoryProvider

Namespace
BSGameLib.UI.Internal
Assembly
BSGameLib.UI.dll

Creates the view-models that the view manager shows. Used by the framework; not for direct use.

public interface IViewModelFactoryProvider

Methods

CreateViewModel<TViewModel>()

Creates a view-model of type TViewModel.

TViewModel CreateViewModel<TViewModel>() where TViewModel : ViewModel, IViewModel

Returns

TViewModel

Type Parameters

TViewModel

The view-model type to create.