C# Class Paralect.Schematra.RecordType

Inheritance: Type
ファイルを表示 Open project: paralect/Schematra Class Usage Examples

Protected Properties

Property Type Description
_baseType Type
_baseTypeResolver TypeResolver
_fields List
_fieldsByIndex FieldInfo>.Dictionary
_fieldsByName FieldInfo>.Dictionary
_tag System.Guid

Public Methods

Method Description
Build ( ) : void
GetField ( Int32 index ) : FieldInfo
GetField ( String name ) : FieldInfo
GetFields ( ) : ICollection

Protected Methods

Method Description
AddFieldInternal ( Int32 index, String name, TypeResolver typeResolver, FieldQualifier qualifier, Object defaultValue ) : void
CreateRecordTypeInternal ( ) : RecordType

Cloning

RecordType ( TypeContext typeContext ) : System

Method Details

AddFieldInternal() protected method

protected AddFieldInternal ( Int32 index, String name, TypeResolver typeResolver, FieldQualifier qualifier, Object defaultValue ) : void
index System.Int32
name String
typeResolver TypeResolver
qualifier FieldQualifier
defaultValue Object
return void

Build() public method

public Build ( ) : void
return void

CreateRecordTypeInternal() protected method

Cloning
protected CreateRecordTypeInternal ( ) : RecordType
return RecordType

GetField() public method

public GetField ( Int32 index ) : FieldInfo
index System.Int32
return FieldInfo

GetField() public method

public GetField ( String name ) : FieldInfo
name String
return FieldInfo

GetFields() public method

public GetFields ( ) : ICollection
return ICollection

RecordType() protected method

protected RecordType ( TypeContext typeContext ) : System
typeContext TypeContext
return System

Property Details

_baseType protected_oe property

Cached record base type
protected Type _baseType
return Type

_baseTypeResolver protected_oe property

Base type resolver
protected TypeResolver,Paralect.Schematra _baseTypeResolver
return TypeResolver

_fields protected_oe property

Record fields
protected List _fields
return List

_fieldsByIndex protected_oe property

Records fields by index
protected Dictionary _fieldsByIndex
return FieldInfo>.Dictionary

_fieldsByName protected_oe property

Records fields by name
protected Dictionary _fieldsByName
return FieldInfo>.Dictionary

_tag protected_oe property

Record tag
protected Guid,System _tag
return System.Guid