Example #1
0
 public SkylineDataSchema(IDocumentContainer documentContainer, DataSchemaLocalizer dataSchemaLocalizer) : base(dataSchemaLocalizer)
 {
     _documentContainer = documentContainer;
     _document          = _documentContainer.Document;
     ChromDataCache     = new ChromDataCache();
     _replicates        = CachedValue.Create(this, CreateReplicateList);
     _resultFiles       = CachedValue.Create(this, CreateResultFileList);
 }
Example #2
0
        public SkylineDataSchema(IDocumentContainer documentContainer, DataSchemaLocalizer dataSchemaLocalizer) : base(dataSchemaLocalizer)
        {
            _documentContainer = documentContainer;
            _document          = _documentContainer.Document;
            ChromDataCache     = new ChromDataCache();

            _replicates           = CachedValue.Create(this, CreateReplicateList);
            _resultFiles          = CachedValue.Create(this, CreateResultFileList);
            _elementRefCache      = CachedValue.Create(this, () => new ElementRefs(Document));
            _annotationCalculator = CachedValue.Create(this, () => new AnnotationCalculator(this));
        }