public bool GenerateExternalDefinedSequence(SourceBuilder source, ExternalDefinedSequenceInfo sequence) { // exact sequence definition compiled class source.Append("\n"); source.AppendFront("public partial class Sequence_" + sequence.Name + " : GRGEN_LIBGR.SequenceDefinitionCompiled\n"); source.AppendFront("{\n"); source.Indent(); GenerateSequenceDefinedSingleton(source, sequence); source.Append("\n"); GenerateGenericMethodReturnValues(source, sequence); source.Append("\n"); GenerateExactExternalDefinedSequenceApplicationMethod(source, sequence); source.Append("\n"); GenerateGenericExternalDefinedSequenceApplicationMethod(source, sequence); // end of exact sequence definition compiled class source.Unindent(); source.AppendFront("}\n"); return(true); }
public void GenerateExternalDefinedSequencePlaceholder(SourceBuilder source, ExternalDefinedSequenceInfo sequence, String externalActionsExtensionFilename) { source.Append("\n"); source.AppendFront("public partial class Sequence_" + sequence.Name + "\n"); source.AppendFront("{\n"); source.Indent(); GenerateInternalDefinedSequenceApplicationMethodStub(source, sequence, externalActionsExtensionFilename); source.Unindent(); source.AppendFront("}\n"); }