/// <summary> /// Commits all changes of the coordinate system. /// </summary> /// <remarks> /// After committing no changes in the coordinate system are allowed. /// </remarks> public void Commit() { if (committed) { return; } committedSchema = GetSchema(); roAxes = new ReadOnlyVariableCollection(axes); axes = null; arrayAxes = null; committed = true; }
/// <summary> /// Makes the read only copy of the collection. /// </summary> /// <returns></returns> public ReadOnlyVariableCollection GetReadOnlyCollection() { ReadOnlyVariableCollection readOnly = new ReadOnlyVariableCollection(variables); return(readOnly); }