/// <summary> /// Remove the specifed controller /// </summary> /// <param name="controller"></param> public void RemoveController(Controllers.IController controller) { if (m_Controller != null) { m_Controller.RemoveController(controller); } }
/// <summary> /// Add the specified controller /// </summary> /// <param name="controller"></param> public void AddController(Controllers.IController controller) { if (m_Controller == null) { m_Controller = new SourceGrid.Cells.Controllers.ControllerContainer(); } m_Controller.AddController(controller); }
/// <summary> /// Initializes a new instance of Result that represents the outcome of an operation. /// </summary> /// <param name="success">Required. The boolean value representing the operation's success.</param> /// <param name="result">Required. The value returned by the operation.</param> /// <param name="client">Required. The parent client of the operation executed.</param> /// <param name="innerException">Optional. The underlying exception thrown by the program on a failure. Value is null on success but maybe also be null on failure.</param> internal Result(bool success, T result, Controllers.IController client, Exception innerException = null) : base(success, client, innerException) { this.Value = result; }