Exemplo n.º 1
0
        /// <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;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Makes the read only copy of the collection.
        /// </summary>
        /// <returns></returns>
        public ReadOnlyVariableCollection GetReadOnlyCollection()
        {
            ReadOnlyVariableCollection readOnly = new ReadOnlyVariableCollection(variables);

            return(readOnly);
        }