コード例 #1
0
 public DocumentDummy(int id)
 {
     IdDocument       = id;
     Topic            = string.Empty;
     CreationDateTime = DateTime.Now;
     Folder           = new FolderDummy();
     Folder.Name      = "Default Folder - constructor id";
     Description      = "___  (id) " + IdDocument.ToString();
     Type             = myEnum.TypeTwo;
 }
コード例 #2
0
 public DocumentDummy(FolderDummy folder)
 {
     IdDocument       = 1;
     Topic            = string.Empty;
     Description      = string.Empty;
     CreationDateTime = DateTime.Now;
     Folder           = folder;
     Description      = "___ (folder)";
     Type             = myEnum.TypeThree;
 }
コード例 #3
0
 public DocumentDummy()
 {
     IdDocument       = 1;
     Topic            = string.Empty;
     CreationDateTime = DateTime.Now;
     Folder           = new FolderDummy();
     Folder.Name      = "Default Folder ";
     Description      = "___ () " + IdDocument.ToString();
     Type             = myEnum.TypeOne;
 }