public DataReturnUpload(Scheme scheme, string data, List<DataReturnUploadError> errors, string fileName, int? year, int? quarter)
        {
            Guard.ArgumentNotNull(() => scheme, scheme);           

            Scheme = scheme;
            Errors = errors;
            RawData = new DataReturnUploadRawData() { Data = data };
            this.Date = SystemTime.UtcNow;
            FileName = fileName;            
            ComplianceYear = year;
            Quarter = quarter;
        }
Ejemplo n.º 2
0
        public DataReturnUpload(Scheme scheme, string data, List <DataReturnUploadError> errors, string fileName, int?year, int?quarter)
        {
            Guard.ArgumentNotNull(() => scheme, scheme);

            Scheme  = scheme;
            Errors  = errors;
            RawData = new DataReturnUploadRawData()
            {
                Data = data
            };
            this.Date      = SystemTime.UtcNow;
            FileName       = fileName;
            ComplianceYear = year;
            Quarter        = quarter;
        }