public DataSampleHeader() { Key = Guid.NewGuid().ToString(); Created = DateTime.UtcNow; Modified = DateTime.UtcNow; Summary = new SampleSummary(); Metadata = new DataSampleMetadata(); _uriProvider = new UriProvider(); }
public virtual SampleSummary Recalculate() { if (SampleData != null) { if (Summary == null) Summary = new SampleSummary(); Summary.Recalculate(SampleData); } return Summary; }