C# Class Dialog.Core.Builder.ElementBuilder

Show file Open project: slodge/Android.Dialog

Public Methods

Method Description
Build ( ElementDescription description ) : IElement
RegisterConventionalElements ( Assembly assembly, string elementNamesEndWith = null ) : void

Protected Methods

Method Description
CreateNewGroup ( GroupDescription groupDescription ) : IGroup
CreateNewSection ( SectionDescription sectionDescription ) : ISection
ElementBuilder ( ) : System

Private Methods

Method Description
Build ( SectionDescription sectionDescription ) : ISection
FillCustomProperty ( object target, PropertyInfo property, string keyAndConfiguration ) : void
FillElements ( ISection section, IEnumerable elementDescriptions ) : void
FillGroup ( object element, GroupDescription groupDescription ) : void
FillProperties ( object target, object>.Dictionary propertyDescriptions ) : void
FillProperty ( object target, PropertyInfo property, object value ) : void
FillSections ( object instance, IEnumerable sectionDescriptions ) : void
SplitCustomPropertyConfiguration ( string raw, string &key, string &configuration ) : void

Method Details

Build() public method

public Build ( ElementDescription description ) : IElement
description Dialog.Core.Descriptions.ElementDescription
return IElement

CreateNewGroup() protected abstract method

protected abstract CreateNewGroup ( GroupDescription groupDescription ) : IGroup
groupDescription Dialog.Core.Descriptions.GroupDescription
return IGroup

CreateNewSection() protected abstract method

protected abstract CreateNewSection ( SectionDescription sectionDescription ) : ISection
sectionDescription Dialog.Core.Descriptions.SectionDescription
return ISection

ElementBuilder() protected method

protected ElementBuilder ( ) : System
return System

RegisterConventionalElements() public method

public RegisterConventionalElements ( Assembly assembly, string elementNamesEndWith = null ) : void
assembly System.Reflection.Assembly
elementNamesEndWith string
return void