C# Class System.Xml.Serialization.ClassMap

Inheritance: ObjectMap
显示文件 Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
AddMember ( System.Xml.Serialization.XmlTypeMapMember member ) : void
FindMember ( string name ) : System.Xml.Serialization.XmlTypeMapMember
GetAttribute ( string name, string ns ) : System.Xml.Serialization.XmlTypeMapMemberAttribute
GetElement ( int index ) : System.Xml.Serialization.XmlTypeMapElementInfo
GetElement ( string name, string ns ) : System.Xml.Serialization.XmlTypeMapElementInfo
SetCanBeSimpleType ( bool can ) : void

Private Methods

Method Description
BuildKey ( string name, string ns ) : string
RegisterFlatList ( System.Xml.Serialization.XmlTypeMapMemberExpandable member ) : void

Method Details

AddMember() public method

public AddMember ( System.Xml.Serialization.XmlTypeMapMember member ) : void
member System.Xml.Serialization.XmlTypeMapMember
return void

FindMember() public method

public FindMember ( string name ) : System.Xml.Serialization.XmlTypeMapMember
name string
return System.Xml.Serialization.XmlTypeMapMember

GetAttribute() public method

public GetAttribute ( string name, string ns ) : System.Xml.Serialization.XmlTypeMapMemberAttribute
name string
ns string
return System.Xml.Serialization.XmlTypeMapMemberAttribute

GetElement() public method

public GetElement ( int index ) : System.Xml.Serialization.XmlTypeMapElementInfo
index int
return System.Xml.Serialization.XmlTypeMapElementInfo

GetElement() public method

public GetElement ( string name, string ns ) : System.Xml.Serialization.XmlTypeMapElementInfo
name string
ns string
return System.Xml.Serialization.XmlTypeMapElementInfo

SetCanBeSimpleType() public method

public SetCanBeSimpleType ( bool can ) : void
can bool
return void