Esempio n. 1
0
        public void TestAfterDialog()
        {
            ModalDialogService modalDialogService = new ModalDialogService(new RegionManager(), new Container());

            ModalViewArguments args = new ModalViewArguments {
                Title = "Modal Dialog Title",
                Count = 25
            };

            ModalView view = modalDialogService.Show <ModalView, ModalViewArguments>(args);

            view.Should().NotBeNull();
            view.Title.Should().Be("Modal Dialog Title");
            view.Count.Should().Be(25);
        }