/// <summary>
        /// Initializes a new instance of the <see cref="FunctionalListVMContainer"/> class.
        /// </summary>
        /// <param name="functionListVM"> The <see cref="FunctionListVM"/> to be put into the container. </param>
        public FunctionalListVMContainer(FunctionListVM functionListVM)
        {
            this.PolyFunctionVMContainers = new List <PolyFunctionVMContainer>();
            this.TrigFunctionVMContainers = new List <TrigFunctionVMContainer>();

            foreach (var item in functionListVM.PolyFunctions)
            {
                this.PolyFunctionVMContainers.Add(new PolyFunctionVMContainer(item));
            }

            foreach (var item in functionListVM.TrigFunctions)
            {
                this.TrigFunctionVMContainers.Add(new TrigFunctionVMContainer(item));
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="MasterVMContainer"/> class.
 /// </summary>
 /// <param name="gridVM"> The grid of the view. </param>
 /// <param name="functionListVM"> The functions of the view. </param>
 public MasterVMContainer(GridVM gridVM, FunctionListVM functionListVM)
 {
     this.GridVMContainer           = new GridVMContainer(gridVM);
     this.FunctionalListVMContainer = new FunctionalListVMContainer(functionListVM);
 }