Esempio n. 1
0
 public ContentSection(LanguageType langType, ContentType cntType, string idRef, string content, RevisionMarker revisionMarker)
 {
     Id                 = Guid.NewGuid().ToString();
     RecordId           = -1;
     DocumentActivityId = -1;
     LangType           = langType;
     CntType            = cntType;
     IdRef              = idRef;
     Content            = content;
     HasRevision        = revisionMarker != null;
     RevisionMarker     = revisionMarker;
 }
Esempio n. 2
0
 public ContentSection()
 {
     Id                 = Guid.NewGuid().ToString();
     RecordId           = -1;
     DocumentActivityId = -1;
     CntType            = ContentType.Text;
     LangType           = LanguageType.Source;
     IdRef              = string.Empty;
     Content            = string.Empty;
     HasRevision        = false;
     RevisionMarker     = null;
 }