Exemplo n.º 1
0
        public static void RegisterAsyncStatusPresenter(IAsyncStatusPresenter asyncStatusPresenter)
        {
            CheckHelper.ArgumentNotNull(asyncStatusPresenter, "asyncStatusPresenter");

            EditableContainer.SetConstant <IAsyncStatusPresenter, IAsyncStatusPresenter>(asyncStatusPresenter);
        }
Exemplo n.º 2
0
        public static void RegisterMenuHolder(IMenuHolder menuHolder)
        {
            CheckHelper.ArgumentNotNull(menuHolder, "menuHolder");

            EditableContainer.SetConstant <IMenuHolder, IMenuHolder>(menuHolder);
        }