Namespace LemonEdge.API.Core.Writers
Classes
ClassFileWriter
A simple file responsible for creating a file with the usings, namespaces and body code.
The file is laid out as so:
- Usings: List of all using statements added by AddUsing(string).
- Namespaces: List of all namespaces added using BeginNamespace(string).
- Body: List of all body code statements added using AddBody(string).
- Namespaces: List of all namespaces closings added using EndNamespace()
ClassFileWriterExtensions
A set of helper extensions for using a ClassFileWriter
ComplexTypeWriter
Used to write the entity class definition for an existing LemonEdge complex type Interface (obtained from custom .net code)
EntityWriter
Used to write the entity class definition for an existing LemonEdge entity Interface (obtained either from custom .net code (must b marked with EntityDefinitionAttribute) or a ICustomObject)
EnumWriter
InterfaceWriter
Interfaces
IComplexTypeWriter
IEntityWriter
IEnumWriter
Used to write the enum definition for a ICustomList created with LemonEdge Auto-Code designers
This will create the enum definition in c# code for the custom list, and is used internally by the system to dynamically load custom lists, as well as by tools to provide the code to users
IInterfaceWriter
Used to write the interface definition for a ICustomObject created with LemonEdge Auto-Code designers
This will create the interface definition in c# code for the custom object, and is used internally by the system to dynamically load custom objects, as well as by tools to provide the code to users
The system needs to create the entity descriptor for the custom object in order to build the interface. This is done via EntityDescriptor.CreateTempFrom(IAddInLoaderHelper,ICustomObject,IEnumerable<ICustomObjectProperty>)