/// <summary> /// Adds a dimension descriptor. /// </summary> /// <param name="dd">the dimension descriptor to Add /// </param> public virtual void AddDimensionDescriptor(DimensionDescriptor dd) { dimensionNameDescriptorMap[dd.Name] = dd; dimensionHandleDescriptorMap[dd.Handle] = dd; }
/// <summary> /// Removes a dimension descriptor. /// </summary> /// <param name="dd">the dimension descriptor to Remove /// </param> public virtual void RemoveDimensionDescriptor(DimensionDescriptor dd) { if (dimensionNameDescriptorMap[dd.Name] == dd) { dimensionNameDescriptorMap.Remove(dd.Name); } if (dimensionHandleDescriptorMap[dd.Handle] == dd) { dimensionHandleDescriptorMap.Remove(dd.Handle); } }