C# Class Caliburn.Micro.ViewLocator

A strategy for determining which view to use for a given model.
Show file Open project: dbuksbaum/Learning-Caliburn.Micro Class Usage Examples

Public Properties

Property Type Description
DefaultContext object
GetOrCreateViewType UIElement>.Func
LocateForModel Func
LocateForModelType Func

Property Details

DefaultContext public static property

The default view context.
public static object DefaultContext
return object

GetOrCreateViewType public static property

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
return UIElement>.Func

LocateForModel public static property

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
return Func

LocateForModelType public static property

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
return Func