C# Class MonoMobile.Views.BindingExpression

A bindingExpression is a single instance of a binding. A binding is essentially the information to create an instance (ie a bindingExpression).
Inheritance: IBindingExpression
Exibir arquivo Open project: rhwilburn/MVVM-for-Mono Class Usage Examples

Private Properties

Property Type Description
CheckAndCoerceToGenericEnumerable object
CheckAndCoerceToObjectEnumerable object
SetValue void
UpdateSource void

Public Methods

Method Description
BindingExpression ( Binding binding, MemberInfo targetProperty, object target ) : System

Initializes a new instance of the MonoMobile.Views.BindingExpression class.

ConvertValue ( object value ) : object
ConvertbackValue ( object value ) : object
ConvertbackValue ( object value, MemberInfo member ) : object
GetSourceValue ( ) : object
GetTargetValue ( ) : object
UpdateSource ( ) : void
UpdateTarget ( ) : void
UpdateTarget ( object sourceValue ) : void

Private Methods

Method Description
CheckAndCoerceToGenericEnumerable ( Type type, object value ) : object
CheckAndCoerceToObjectEnumerable ( object value ) : object
SetValue ( MemberInfo member, object obj, object value ) : void
UpdateSource ( object obj, MemberInfo member, object targetValue ) : void

Method Details

BindingExpression() public method

Initializes a new instance of the MonoMobile.Views.BindingExpression class.
/// Is thrown when an argument passed to a method is invalid because it is . ///
public BindingExpression ( Binding binding, MemberInfo targetProperty, object target ) : System
binding Binding /// Binding. ///
targetProperty System.Reflection.MemberInfo /// ViewModel.. ///
target object /// ViewModel to hock into. ///
return System

ConvertValue() public method

public ConvertValue ( object value ) : object
value object
return object

ConvertbackValue() public method

public ConvertbackValue ( object value ) : object
value object
return object

ConvertbackValue() public method

public ConvertbackValue ( object value, MemberInfo member ) : object
value object
member System.Reflection.MemberInfo
return object

GetSourceValue() public method

public GetSourceValue ( ) : object
return object

GetTargetValue() public method

public GetTargetValue ( ) : object
return object

UpdateSource() public method

public UpdateSource ( ) : void
return void

UpdateTarget() public method

public UpdateTarget ( ) : void
return void

UpdateTarget() public method

public UpdateTarget ( object sourceValue ) : void
sourceValue object
return void