Table of Contents

Class ModelPropertyPythonGenerator

Namespace
TimeCockpit.Data.Export.Model
Assembly
TimeCockpit.Data.Export.dll
public class ModelPropertyPythonGenerator : FastTransformBase
Inheritance
Object
ModelPropertyPythonGenerator

Constructors

ModelPropertyPythonGenerator()

public ModelPropertyPythonGenerator()

ModelPropertyPythonGenerator(StringBuilder)

public ModelPropertyPythonGenerator(StringBuilder generatorEnvironment)

Parameters

generatorEnvironment StringBuilder

Methods

TransformText()

public override string TransformText()

Returns

String

WriteBinaryProperty(BinaryProperty, String)

public void WriteBinaryProperty(BinaryProperty binaryProperty, string variableName)

Parameters

binaryProperty BinaryProperty
variableName String

WriteBooleanProperty(BooleanProperty, String)

public void WriteBooleanProperty(BooleanProperty booleanProperty, string variableName)

Parameters

booleanProperty BooleanProperty
variableName String

WriteCalculatedProperty(CalculatedProperty, String)

public void WriteCalculatedProperty(CalculatedProperty calculatedProperty, string variableName)

Parameters

calculatedProperty CalculatedProperty
variableName String

WriteDateProperty(DateProperty, String)

public void WriteDateProperty(DateProperty dateProperty, string variableName)

Parameters

dateProperty DateProperty
variableName String

WriteDateTimeProperty(DateTimeProperty, String)

public void WriteDateTimeProperty(DateTimeProperty dateTimeProperty, string variableName)

Parameters

dateTimeProperty DateTimeProperty
variableName String

WriteFileProperty(FileProperty, String)

public void WriteFileProperty(FileProperty fileProperty, string variableName)

Parameters

fileProperty FileProperty
variableName String

WriteGuidProperty(GuidProperty, String)

public void WriteGuidProperty(GuidProperty guidProperty, string variableName)

Parameters

guidProperty GuidProperty
variableName String

WriteNumericProperty(NumericProperty, String)

public void WriteNumericProperty(NumericProperty numericProperty, string variableName)

Parameters

numericProperty NumericProperty
variableName String

WriteProperty(ModelProperty, String)

public void WriteProperty(ModelProperty property, string variableName)

Parameters

property ModelProperty
variableName String

WriteRelation(Relation, String, String)

public void WriteRelation(Relation relation, string variableName, string targetModelVariableName)

Parameters

relation Relation
variableName String
targetModelVariableName String

WriteStandardProperty(ModelProperty)

public void WriteStandardProperty(ModelProperty modelProperty)

Parameters

modelProperty ModelProperty

WriteStringArray(IEnumerable<String>)

public void WriteStringArray(IEnumerable<string> arr)

Parameters

arr IEnumerable<String>

WriteTextProperty(TextProperty, String)

public void WriteTextProperty(TextProperty textProperty, string variableName)

Parameters

textProperty TextProperty
variableName String