Esempio n. 1
0
 public PlaceholderSegment(int offset, string text, SegmentedDocumentSerialiser segmentedDocumentSerialiser)
     : base(offset, text)
 {
     StartOffset += 1;
     EndOffset   -= 2;
     Length       = EndOffset - StartOffset;
     serialiser   = segmentedDocumentSerialiser;
 }
Esempio n. 2
0
 public MongoDatabaseTemplateSource(MongoDBComponent component, SegmentedDocumentSerialiser serialiser)
 {
     mongoComponent  = component;
     Name            = "Database Fields";
     this.serialiser = serialiser;
 }
Esempio n. 3
0
 public EmbeddedFileTemplateSource(string name, string fileName, SegmentedDocumentSerialiser serialiser)
 {
     Name            = name;
     this.fileName   = fileName;
     this.serialiser = serialiser;
 }