示例#1
0
        public ElementForPublish(SelectedFile selectedFile, WebResource webResource)
        {
            if (selectedFile == null)
            {
                throw new ArgumentException("Не задан файл-источник.");
            }

            if (webResource == null)
            {
                throw new ArgumentException("Не задан веб-ресурс.");
            }

            this.SelectedFile = selectedFile;
            this.WebResource  = webResource;
        }
示例#2
0
 public CompareTuple(SelectedFile selectedFile, WebResource webResource, ContentCompareResult compareResult)
 {
     this.SelectedFile  = selectedFile;
     this.WebResource   = webResource;
     this.CompareResult = compareResult;
 }
示例#3
0
 public CompareTuple(SelectedFile selectedFile, WebResource webResource)
     : this(selectedFile, webResource, null)
 {
 }