示例#1
0
 public SourceServerResponseDTO(bool result, string errorMessage, ParametersDTO parameters, IEnumerable <PackageDTO> packages, ResultFrom resultFrom, double?cacheOld)
 {
     this.Result       = result;
     this.ErrorMessage = errorMessage;
     this.Parameters   = parameters;
     this.Packages     = packages;
     this.ResultFrom   = resultFrom;
     this.CacheOld     = cacheOld;
 }
 public SearchLogEntryDTO(ParametersDTO parameters)
 {
     this.Id         = Guid.NewGuid();
     this.LogType    = LogType.Parameters;
     this.parameters = parameters;
 }