public ElementForPublish(SelectedFile selectedFile, WebResource webResource) { if (selectedFile == null) { throw new ArgumentException("Не задан файл-источник."); } if (webResource == null) { throw new ArgumentException("Не задан веб-ресурс."); } this.SelectedFile = selectedFile; this.WebResource = webResource; }
public CompareTuple(SelectedFile selectedFile, WebResource webResource, ContentCompareResult compareResult) { this.SelectedFile = selectedFile; this.WebResource = webResource; this.CompareResult = compareResult; }
public CompareTuple(SelectedFile selectedFile, WebResource webResource) : this(selectedFile, webResource, null) { }