C# Class Composite.Data.DynamicTypes.DataTypeDescriptor

Afficher le fichier Open project: Orckestra/C1-CMS Class Usage Examples

Private Properties

Свойство Type Description
AddSuperInterface void
FromXml DataTypeDescriptor
SetSuperInterfaces void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

AddSuperInterface() public méthode

Adds an interface the data type should inherit from
public AddSuperInterface ( Type interfaceType ) : void
interfaceType System.Type
Résultat void

Clone() public méthode

Clones the data type description.
public Clone ( ) : DataTypeDescriptor
Résultat DataTypeDescriptor

DataTypeDescriptor() public méthode

Instantiates an instance of DataTypeDescriptor with default settings.
public DataTypeDescriptor ( ) : System
Résultat System

DataTypeDescriptor() public méthode

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.
Résultat System

DataTypeDescriptor() public méthode

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
Résultat System

DataTypeDescriptor() public méthode

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.
Résultat System

Equals() public méthode

public Equals ( DataTypeDescriptor dataTypeDescriptor ) : bool
dataTypeDescriptor DataTypeDescriptor
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

FromXml() public static méthode

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
Résultat DataTypeDescriptor

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetInterfaceType() public méthode

Returns the CLT Type for this data type description.
public GetInterfaceType ( ) : Type
Résultat System.Type

RemoveSuperInterface() public méthode

Removes a super interface
public RemoveSuperInterface ( Type interfaceType ) : void
interfaceType System.Type Type to remove
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToXml() public méthode

Serialize the data type description to XML
public ToXml ( ) : System.Xml.Linq.XElement
Résultat System.Xml.Linq.XElement

Validate() public méthode

Validate the data type description or throw an exception.
public Validate ( ) : void
Résultat void