/// <summary> /// Creates and initializes a new instance of a <see cref="WriteableControllerView"/> object. /// </summary> /// <param name="controller">The controller on which the view is attached.</param> public static WriteableControllerView Create(WriteableController controller) { WriteableControllerView View = new WriteableControllerView(controller); View.Init(); return(View); }
/// <summary> /// Creates and initializes a new instance of a <see cref="WriteableController"/> object. /// </summary> /// <param name="nodeIndex">Index of the root of the node tree.</param> public static WriteableController Create(IWriteableRootNodeIndex nodeIndex) { WriteableController Controller = new WriteableController(); Controller.SetRoot(nodeIndex); Controller.SetInitialized(); return(Controller); }
/// <summary> /// Initializes a new instance of the <see cref="WriteableControllerView"/> class. /// </summary> /// <param name="controller">The controller on which the view is attached.</param> private protected WriteableControllerView(WriteableController controller) : base(controller) { }