Exemplo n.º 1
0
        public CampaignInfo(string name, HdfElementBase parent, bool isLazyLoading) : base(name, parent, isLazyLoading)
        {
            _chunkDatasetInfo = new DatasetInfo("is_chunk_completed_set", TypeConversionHelper.GetHdfTypeIdFromType(typeof(bool)), this, this.IsLazyLoading);
            _variableInfoSet  = new List <VariableInfo>();

            this.RegisterSyncGroup(nameof(CampaignInfo), new SyncContext(this.UpdateCampaignInfo));
        }
Exemplo n.º 2
0
        public DatasetInfo(string name, long typeId, HdfElementBase parent, bool isLazyLoading) : base(name, parent, isLazyLoading)
        {
            this.TypeId = typeId;

            _sourceFileInfoSet = new List <SourceFileInfo>();

            this.RegisterSyncGroup(nameof(DatasetInfo), new SyncContext(this.UpdateDatasetInfo));
        }
Exemplo n.º 3
0
        public HdfElementBase(string name, HdfElementBase parent, bool isLazyLoading)
        {
            this.Name          = name;
            this.Parent        = parent;
            this.IsLazyLoading = isLazyLoading;

            _syncMap = new Dictionary <string, SyncContext>();
        }
Exemplo n.º 4
0
        public VariableInfo(string name, HdfElementBase parent, bool isLazyLoading) : base(name, parent, isLazyLoading)
        {
            _variableNameSet     = new List <string>();
            _variableGroupSet    = new List <string>();
            _unitSet             = new List <string>();
            _transferFunctionSet = new List <hdf_transfer_function_t>();

            _datasetInfoSet = new List <DatasetInfo>();

            this.RegisterSyncGroup(nameof(this.VariableNameSet), new SyncContext(this.UpdateVariableNameSet));
            this.RegisterSyncGroup(nameof(VariableInfo), new SyncContext(this.UpdateVariableInfo));
        }