C# 클래스 Composite.Data.DynamicTypes.DataTypeDescriptor

파일 보기 프로젝트 열기: Orckestra/C1-CMS 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddSuperInterface void
FromXml DataTypeDescriptor
SetSuperInterfaces void

공개 메소드들

메소드 설명
AddSuperInterface ( Type interfaceType ) : void

Adds an interface the data type should inherit from

Clone ( ) : DataTypeDescriptor

Clones the data type description.

DataTypeDescriptor ( ) : System

Instantiates an instance of DataTypeDescriptor with default settings.

DataTypeDescriptor ( System.Guid dataTypeId, string dataTypeNamespace, string dataTypeName, bool isCodeGenerated ) : System

Instantiates an instance of DataTypeDescriptor.

DataTypeDescriptor ( System.Guid dataTypeId, string dataTypeNamespace, string dataTypeName, string typeManagerTypeName ) : System

Instantiates an instance of DataTypeDescriptor with a custom Type Manager.

DataTypeDescriptor ( System.Guid dataTypeId, string dataTypeNamespace, string dataTypeName, string typeManagerTypeName, bool isCodeGenerated ) : System

Instantiates an instance of DataTypeDescriptor with a custom Type Manager.

Equals ( DataTypeDescriptor dataTypeDescriptor ) : bool
Equals ( object obj ) : bool
FromXml ( System.Xml.Linq.XElement element ) : DataTypeDescriptor

Deserializes a data type descriptor

GetHashCode ( ) : int
GetInterfaceType ( ) : Type

Returns the CLT Type for this data type description.

RemoveSuperInterface ( Type interfaceType ) : void

Removes a super interface

ToString ( ) : string
ToXml ( ) : System.Xml.Linq.XElement

Serialize the data type description to XML

Validate ( ) : void

Validate the data type description or throw an exception.

비공개 메소드들

메소드 설명
AddSuperInterface ( Type interfaceType, bool addInheritedFields ) : void

Adds an interface the data type should inherit from

FromXml ( System.Xml.Linq.XElement element, bool inheritedFieldsIncluded ) : DataTypeDescriptor
SetSuperInterfaces ( List superInterfaces ) : void

Resets the list of interfaces this data type inherit from

메소드 상세

AddSuperInterface() 공개 메소드

Adds an interface the data type should inherit from
public AddSuperInterface ( Type interfaceType ) : void
interfaceType System.Type
리턴 void

Clone() 공개 메소드

Clones the data type description.
public Clone ( ) : DataTypeDescriptor
리턴 DataTypeDescriptor

DataTypeDescriptor() 공개 메소드

Instantiates an instance of DataTypeDescriptor with default settings.
public DataTypeDescriptor ( ) : System
리턴 System

DataTypeDescriptor() 공개 메소드

Instantiates an instance of DataTypeDescriptor.
public DataTypeDescriptor ( System.Guid dataTypeId, string dataTypeNamespace, string dataTypeName, bool isCodeGenerated ) : System
dataTypeId System.Guid The permanent Guid which should represent this data type.
dataTypeNamespace string Namespace of the type.
dataTypeName string Name of the type.
isCodeGenerated bool True if this type is dynamically compiled.
리턴 System

DataTypeDescriptor() 공개 메소드

Instantiates an instance of DataTypeDescriptor with a custom Type Manager.
public DataTypeDescriptor ( System.Guid dataTypeId, string dataTypeNamespace, string dataTypeName, string typeManagerTypeName ) : System
dataTypeId System.Guid The permanent Guid which should represent this data type.
dataTypeNamespace string Namespace of the type.
dataTypeName string Name of the type.
typeManagerTypeName string If this data type has a custom type manager
리턴 System

DataTypeDescriptor() 공개 메소드

Instantiates an instance of DataTypeDescriptor with a custom Type Manager.
public DataTypeDescriptor ( System.Guid dataTypeId, string dataTypeNamespace, string dataTypeName, string typeManagerTypeName, bool isCodeGenerated ) : System
dataTypeId System.Guid The permanent Guid which should represent this data type.
dataTypeNamespace string Namespace of the type.
dataTypeName string Name of the type.
typeManagerTypeName string If this data type has a custom type manager
isCodeGenerated bool True if this type is dynamically compiled.
리턴 System

Equals() 공개 메소드

public Equals ( DataTypeDescriptor dataTypeDescriptor ) : bool
dataTypeDescriptor DataTypeDescriptor
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

FromXml() 공개 정적인 메소드

Deserializes a data type descriptor
public static FromXml ( System.Xml.Linq.XElement element ) : DataTypeDescriptor
element System.Xml.Linq.XElement A serialized (XML) data type descriptor
리턴 DataTypeDescriptor

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetInterfaceType() 공개 메소드

Returns the CLT Type for this data type description.
public GetInterfaceType ( ) : Type
리턴 System.Type

RemoveSuperInterface() 공개 메소드

Removes a super interface
public RemoveSuperInterface ( Type interfaceType ) : void
interfaceType System.Type Type to remove
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToXml() 공개 메소드

Serialize the data type description to XML
public ToXml ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

Validate() 공개 메소드

Validate the data type description or throw an exception.
public Validate ( ) : void
리턴 void