Пример #1
0
 public EncodingScrutatorFile(EncodingNormalior.Model.EncodingScrutatorFile encodingScrutatorFile,
                              EncodingScrutatorFolder parent) : base(encodingScrutatorFile.Name, parent)
 {
     File     = encodingScrutatorFile.File;
     Encoding = encodingScrutatorFile.Encoding;
     //_encoding = encodingScrutatorFile.Encoding.EncodingName;
 }
        public EncodingScrutatorFolder(EncodingNormalior.Model.EncodingScrutatorFolder encodingScrutatorFolder,
                                       EncodingScrutatorFolder parent)
            : base(encodingScrutatorFolder.Name, parent)
        {
            Folder = new List <IEncodingScrutatorFile>();
            foreach (var temp in encodingScrutatorFolder.File)
            {
                Folder.Add(new EncodingScrutatorFile(temp, parent));
            }

            foreach (var temp in encodingScrutatorFolder.Folder)
            {
                Folder.Add(new EncodingScrutatorFolder(temp, this));
            }
            SitpulationEncodingSetting = encodingScrutatorFolder.SitpulationEncodingSetting;
        }
Пример #3
0
 public EncodingScrutatorFolderFile(string name, EncodingScrutatorFolder parent)
 {
     Name   = name;
     Parent = parent;
 }