C# Class Catel.MVVM.Views.ViewToViewModelMappingContainer

Container class for ViewToViewModelMapping elements.
Show file Open project: Catel/Catel

Public Methods

Method Description
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.

Method Details

ContainsViewModelToViewMapping() public method

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.
return bool

ContainsViewToViewModelMapping() public method

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.
return bool

GetAllViewToViewModelMappings() public method

Gets all the ViewToViewModelMapping that are registered.
public GetAllViewToViewModelMappings ( ) : IEnumerable
return IEnumerable

GetViewModelToViewMapping() public method

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.
return Catel.MVVM.Views.ViewToViewModelMapping

GetViewToViewModelMapping() public method

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.
return Catel.MVVM.Views.ViewToViewModelMapping

ViewToViewModelMappingContainer() public method

Initializes a new instance of the ViewToViewModelMappingContainer class.
The is null.
public ViewToViewModelMappingContainer ( IViewModelContainer viewModelContainer ) : System
viewModelContainer IViewModelContainer The view.
return System