C# Class CrossUI.Core.Builder.KeyedUserInterfaceBuilder

Inheritance: BaseUserInterfaceBuilder
显示文件 Open project: MvvmCross/MvvmCross

Public Methods

Method Description
Build ( Type interfaceType, KeyedDescription description ) : object

Protected Methods

Method Description
KeyedUserInterfaceBuilder ( string platformName, IBuilderRegistry builderRegistry ) : CrossUI.Core.Descriptions

Private Methods

Method Description
CheckDictionaryAndGetValueType ( PropertyInfo propertyInfo, Type expectedKeyType, Type expectedValueBaseType ) : Type
CheckListAndGetValueType ( PropertyInfo propertyInfo, Type expectedValueBaseType ) : Type
FillBuildableProperties ( KeyedDescription description, object userInterfaceInstance ) : void
FillBuildableProperty ( KeyedDescription description, object userInterfaceInstance, PropertyInfo buildablePropertyInfo ) : void
FillDictionary ( PropertyInfo descriptionPropertyInfo, object descriptionPropertyValue, PropertyInfo userInterfacePropertyInfo, object userInterfaceInstance ) : void
FillList ( PropertyInfo descriptionPropertyInfo, object descriptionPropertyValue, PropertyInfo userInterfacePropertyInfo, object userInterfaceInstance ) : void
FillUserInterfaceElement ( PropertyInfo descriptionPropertyInfo, object descriptionPropertyValue, PropertyInfo userInterfacePropertyInfo, object userInterfaceInstance ) : void
FixParent ( object child, object parent ) : void

Method Details

Build() public method

public Build ( Type interfaceType, KeyedDescription description ) : object
interfaceType System.Type
description CrossUI.Core.Descriptions.KeyedDescription
return object

KeyedUserInterfaceBuilder() protected method

protected KeyedUserInterfaceBuilder ( string platformName, IBuilderRegistry builderRegistry ) : CrossUI.Core.Descriptions
platformName string
builderRegistry IBuilderRegistry
return CrossUI.Core.Descriptions