C# Class Caliburn.Micro.ViewLocator

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

Méthodes publiques

Свойство Type Description
DefaultContext object
GetOrCreateViewType UIElement>.Func
LocateForModel Func
LocateForModelType Func

Property Details

DefaultContext public_oe static_oe property

The default view context.
public static object DefaultContext
Résultat object

GetOrCreateViewType public_oe static_oe 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
Résultat UIElement>.Func

LocateForModel public_oe static_oe 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
Résultat Func

LocateForModelType public_oe static_oe 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
Résultat Func