C# Класс Caliburn.Micro.ViewLocator

A strategy for determining which view to use for a given model.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DefaultContext object
GetOrCreateViewType UIElement>.Func
LocateForModel Func
LocateForModelType Func

Описание свойств

DefaultContext публичное статическое свойство

The default view context.
public static object DefaultContext
Результат object

GetOrCreateViewType публичное статическое свойство

Retrieves the view from the IoC container or tries to create it if not found.
Pass the type of view as a parameter and recieve an instance of the view.
public static Func GetOrCreateViewType
Результат UIElement>.Func

LocateForModel публичное статическое свойство

Locates the view for the specified model instance.
Pass the model instance, display location (or null) and the context (or null) as parameters and receive a view instance.
public static Func LocateForModel
Результат Func

LocateForModelType публичное статическое свойство

Locates the view for the specified model type.
Pass the model type, display location (or null) and the context instance (or null) as parameters and recieve a view instance.
public static Func LocateForModelType
Результат Func