/// <summary> /// Initializes a new instance of the <see cref="GridVMContainer"/> class. /// </summary> /// <param name="gridVM"> The to be saved grid. </param> public GridVMContainer(GridVM gridVM) { this.GridXInterval = gridVM.GridXInterval; this.GridYInterval = gridVM.GridYInterval; this.GridXOpacity = gridVM.GridXOpacity; this.GridYOpacity = gridVM.GridYOpacity; this.SmallestXValue = gridVM.SmallestXValue; this.BigestXValue = gridVM.BigestXValue; this.SmallestYValue = gridVM.SmallestYValue; this.BigestYValue = gridVM.BigestYValue; this.XOpacity = gridVM.XOpacity; this.YOpacity = gridVM.YOpacity; this.ColorXAxis = gridVM.ColorXAxis; this.ColorYAxis = gridVM.ColorYAxis; this.ColorXAxisGrid = gridVM.ColorXAxisGrid; this.ColorYAxisGrid = gridVM.ColorYAxisGrid; }
/// <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); }