C# Class GenerateFromSchema.CSharpGenerator

Inheritance: Generator
Mostra file Open project: AnalyticalGraphicsInc/czml-writer Class Usage Examples

Public Methods

Method Description
CSharpGenerator ( string outputDirectory, string configurationFileName ) : System
Generate ( Schema schema ) : void

Private Methods

Method Description
FindSampledDataOverload ( IEnumerable overloads ) : OverloadInfo
GeneratePacketWriter ( Schema packetSchema ) : void
GenerateWriterClass ( Schema schema ) : void
GetDescription ( Property property ) : string
GetOverloadsForProperty ( Property property ) : IEnumerable
IsSampledDataOverload ( OverloadInfo overload ) : bool
PropertyValueIsLeaf ( Property property ) : bool
WriteAsTypeLazyInitialization ( CodeWriter writer, Schema schema ) : void
WriteAsTypeMethods ( CodeWriter writer, Schema schema ) : void
WriteConstructorsAndCloneMethod ( CodeWriter writer, Schema schema ) : void
WriteDescriptionAsClassSummary ( CodeWriter writer, Schema schema ) : void
WriteGeneratedWarning ( CodeWriter writer ) : void
WriteInheritDoc ( CodeWriter writer ) : void
WriteIntervalsProperty ( CodeWriter writer, Schema schema, Property property ) : void
WriteLeafProperty ( CodeWriter writer, Schema schema, Property property, bool isFirstValueProperty ) : void
WriteNamespaces ( CodeWriter writer, Schema schema ) : void
WritePacketOpenClose ( CodeWriter writer ) : void
WriteParameterText ( CodeWriter writer, string parameterName, string description ) : void
WriteProperties ( CodeWriter writer, Schema schema ) : void
WritePropertyLazyFields ( CodeWriter writer, Schema schema ) : void
WritePropertyNameConstants ( CodeWriter writer, Schema schema ) : void
WriteReturnsText ( CodeWriter writer, string description ) : void
WriteSummaryText ( CodeWriter writer, string text ) : void
WriteTypeParameterText ( CodeWriter writer, string typeName, string description ) : void

Method Details

CSharpGenerator() public method

public CSharpGenerator ( string outputDirectory, string configurationFileName ) : System
outputDirectory string
configurationFileName string
return System

Generate() public method

public Generate ( Schema schema ) : void
schema Schema
return void