Class ComplexTypeWriter
Used to write the entity class definition for an existing LemonEdge complex type Interface (obtained from custom .net code)
Implements
Inherited Members
Namespace: LemonEdge.API.Core.Writers
Assembly: LemonEdge.API.dll
Syntax
public class ComplexTypeWriter : IComplexTypeWriter
Constructors
ComplexTypeWriter(IEntityWriter)
Declaration
public ComplexTypeWriter(IEntityWriter entityWriter)
Parameters
Type | Name | Description |
---|---|---|
IEntityWriter | entityWriter |
Methods
WriteFile(Type, string, string)
Writes the entity class definition for an existing LemonEdge complex type Interface (obtained from custom .net code)
Declaration
public string WriteFile(Type type, string customUsing, string @namespace = "LemonEdge.API.Entities")
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type of the complex type interface LemonEdge definition (must be marked with ComplexDefinitionAttribute) |
string | customUsing | |
string | namespace |
Returns
Type | Description |
---|---|
string | The complete c# file for the defintion of the complex type entity |