Esempio n. 1
0
        public DefaultDialogService(
            IMessageBox messageBox,
            IResolverLocator resolverLocator,
            ViewModelToViewConvention viewModelToViewConvention)
        {
            this.resolverLocator           = resolverLocator;
            this.messageBox                = messageBox;
            this.viewModelToViewConvention = viewModelToViewConvention;

            OpenedWindows = new OpenedWindowsCollection(openedWindows);
        }
Esempio n. 2
0
 public DefaultDialogService(
     IResolverLocator resolverLocator,
     ViewModelToViewConvention viewModelToViewConvention)
     : this(new MessageBox(), resolverLocator, viewModelToViewConvention)
 {
 }
Esempio n. 3
0
 public DefaultDialogService(IMessageBox messageBox, IResolverLocator resolverLocator)
     : this(messageBox, resolverLocator, new DefaultViewModelToViewConvention())
 {
 }
Esempio n. 4
0
 public DefaultDialogService(IResolverLocator resolverLocator)
     : this(resolverLocator, new DefaultViewModelToViewConvention())
 {
 }
Esempio n. 5
0
 public ViewModelFactory(IResolverLocator container)
 {
     this.container = container;
 }
        public void SetUp()
        {
            _resolver = new DittoResolverTypeLocator();

            DittoResolverTypeLocator.Register<DittoHtmlStringConverter>("htmlString");
        }