Пример #1
0
        public ProxyFile(String path, ProxyHeader header, IEnumerable <ProxyContentFile> contentFiles)
        {
            this.Path   = path;
            this.Header = header;
            this.contentFilesDictionary = contentFiles
                                          .OfType <IContentFile>()
                                          .ToDictionary(x => x.Path);

            AssignOwnership(contentFiles);
        }
Пример #2
0
 public ProxyFile(ProxyHeader header, IEnumerable <ProxyContentFile> contentFiles)
     : this(null, header, contentFiles)
 {
 }