C# 클래스 Caliburn.Micro.ViewLocator

A strategy for determining which view to use for a given model.
파일 보기 프로젝트 열기: dbuksbaum/Learning-Caliburn.Micro 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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