Exemple #1
0
 public DirectoryPropertiesSet(DirectoryPropertiesSet baseMeta, params Meta[] metas) : base(baseMeta, metas.Select(o => o.Properties).ToArray())
 {
     this.Terminate = baseMeta.Terminate;
     this.Hidden    = baseMeta.Hidden;
     foreach (var meta in metas)
     {
         this.Terminate = meta.Terminate ?? this.Terminate;
         this.Hidden    = meta.Hidden ?? this.Hidden;
     }
 }
Exemple #2
0
 public DirectoryMetadata(DirectoryPropertiesSet directoryProperties, IDictionary <string, FilePropertiesSet> filesProperties)
 {
     DirectoryProperties = directoryProperties;
     FilesProperties     = filesProperties;
 }