C# Class MvvmCross.Binding.Bindings.Source.Construction.MvxPropertySourceBindingFactoryExtension

Uses a global cache of calls in Reflection namespace
Inheritance: IMvxSourceBindingFactoryExtension
ファイルを表示 Open project: MvvmCross/MvvmCross

Public Methods

Method Description
TryCreateBinding ( object source, MvxPropertyToken currentToken, List remainingTokens, IMvxSourceBinding &result ) : bool

Protected Methods

Method Description
CreateChainedBinding ( object source, MvxPropertyToken propertyToken, List remainingTokens ) : MvxChainedSourceBinding
CreateLeafBinding ( object source, MvxPropertyToken propertyToken ) : IMvxSourceBinding
FindPropertyInfo ( object source, string propertyName = "Item" ) : PropertyInfo

Method Details

CreateChainedBinding() protected method

protected CreateChainedBinding ( object source, MvxPropertyToken propertyToken, List remainingTokens ) : MvxChainedSourceBinding
source object
propertyToken MvxPropertyToken
remainingTokens List
return MvvmCross.Binding.Bindings.Source.Chained.MvxChainedSourceBinding

CreateLeafBinding() protected method

protected CreateLeafBinding ( object source, MvxPropertyToken propertyToken ) : IMvxSourceBinding
source object
propertyToken MvxPropertyToken
return IMvxSourceBinding

FindPropertyInfo() protected method

protected FindPropertyInfo ( object source, string propertyName = "Item" ) : PropertyInfo
source object
propertyName string
return System.Reflection.PropertyInfo

TryCreateBinding() public method

public TryCreateBinding ( object source, MvxPropertyToken currentToken, List remainingTokens, IMvxSourceBinding &result ) : bool
source object
currentToken MvxPropertyToken
remainingTokens List
result IMvxSourceBinding
return bool