GitHub.VisualStudio.UI.WindowController.WindowController C# (CSharp) Method

WindowController() public method

public WindowController ( IObservable controls, bool>.Func shouldLoad = null, bool>.Func shouldStop = null ) : System
controls IObservable Observable that provides controls to host in this window
shouldLoad bool>.Func If set, this condition will be checked before loading each control
shouldStop bool>.Func If set, this condition will be checked to determine when to close this window
return System
        public WindowController(IObservable<LoadData> controls,
            Func<IView, bool> shouldLoad = null,
            Func<IView, bool> shouldStop = null)
        {
            this.controls = controls;
            this.shouldLoad = shouldLoad;
            this.shouldStop = shouldStop;

            InitializeComponent();
            Initialize();
        }