Class ComplexTypeDescriptor
Holds the description of any interface marked with the ComplexDefinitionAttribute attribute
This holds the interface and class types for the complex type along with a label and default image
This should not be confused with an EntityDescriptor which holds the definition for an actual entity that is stored in the database. ComplexTypes are used for reporting data onlyInherited Members
Namespace: LemonEdge.API.Descriptors
Assembly: LemonEdge.API.dll
Syntax
public class ComplexTypeDescriptor
Constructors
ComplexTypeDescriptor()
Declaration
public ComplexTypeDescriptor()
Properties
HelpURL
Declaration
public string HelpURL { get; set; }
Property Value
Type | Description |
---|---|
string |
Image
The default image associated with this type in the UI
Declaration
public Guid Image { get; set; }
Property Value
Type | Description |
---|---|
Guid |
InstanceType
The type of the class that actually implements the interface definition. This should have a parameterless public constructor
Declaration
public Type InstanceType { get; set; }
Property Value
Type | Description |
---|---|
Type |
InterfaceType
The interface type for this complex type
Declaration
public Type InterfaceType { get; set; }
Property Value
Type | Description |
---|---|
Type |
Label
The default label for referring to this complex type in the UI
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Deconstruct(out Type, out Type, out string, out Guid)
Declaration
public void Deconstruct(out Type InterfaceType, out Type InstanceType, out string Label, out Guid Image)
Parameters
Type | Name | Description |
---|---|---|
Type | InterfaceType | |
Type | InstanceType | |
string | Label | |
Guid | Image |