C# Класс Catel.MVVM.Views.ViewToViewModelMappingContainer

Container class for ViewToViewModelMapping elements.
Показать файл Открыть проект

Открытые методы

Метод Описание
ContainsViewModelToViewMapping ( string viewModelPropertyName ) : bool

Determines whether the manager contains a view model to view property mapping for the specified view model property name.

ContainsViewToViewModelMapping ( string viewPropertyName ) : bool

Determines whether the manager contains a view to view model property mapping for the specified view property name.

GetAllViewToViewModelMappings ( ) : IEnumerable

Gets all the ViewToViewModelMapping that are registered.

GetViewModelToViewMapping ( string viewModelPropertyName ) : Catel.MVVM.Views.ViewToViewModelMapping

Gets the ViewToViewModelMapping that is mapped to the specified view model property name.

GetViewToViewModelMapping ( string viewPropertyName ) : Catel.MVVM.Views.ViewToViewModelMapping

Gets the ViewToViewModelMapping that is mapped to the specified view property name.

ViewToViewModelMappingContainer ( IViewModelContainer viewModelContainer ) : System

Initializes a new instance of the ViewToViewModelMappingContainer class.

Описание методов

ContainsViewModelToViewMapping() публичный Метод

Determines whether the manager contains a view model to view property mapping for the specified view model property name.
public ContainsViewModelToViewMapping ( string viewModelPropertyName ) : bool
viewModelPropertyName string Name of the view model property.
Результат bool

ContainsViewToViewModelMapping() публичный Метод

Determines whether the manager contains a view to view model property mapping for the specified view property name.
public ContainsViewToViewModelMapping ( string viewPropertyName ) : bool
viewPropertyName string Name of the view property.
Результат bool

GetAllViewToViewModelMappings() публичный Метод

Gets all the ViewToViewModelMapping that are registered.
public GetAllViewToViewModelMappings ( ) : IEnumerable
Результат IEnumerable

GetViewModelToViewMapping() публичный Метод

Gets the ViewToViewModelMapping that is mapped to the specified view model property name.
public GetViewModelToViewMapping ( string viewModelPropertyName ) : Catel.MVVM.Views.ViewToViewModelMapping
viewModelPropertyName string Name of the view model property.
Результат Catel.MVVM.Views.ViewToViewModelMapping

GetViewToViewModelMapping() публичный Метод

Gets the ViewToViewModelMapping that is mapped to the specified view property name.
public GetViewToViewModelMapping ( string viewPropertyName ) : Catel.MVVM.Views.ViewToViewModelMapping
viewPropertyName string Name of the view property.
Результат Catel.MVVM.Views.ViewToViewModelMapping

ViewToViewModelMappingContainer() публичный Метод

Initializes a new instance of the ViewToViewModelMappingContainer class.
The is null.
public ViewToViewModelMappingContainer ( IViewModelContainer viewModelContainer ) : System
viewModelContainer IViewModelContainer The view.
Результат System