Example #1
0
 public ViewModelDependencies(IViewModelFactory f, IUiThreadManager ui, IAsyncThreadManager async, IFrozenContext frozenCtx, IIdentityResolver idResolver)
 {
     Factory          = f;
     UiThread         = ui;
     AsyncThread      = async;
     FrozenContext    = frozenCtx;
     IdentityResolver = idResolver;
 }
Example #2
0
 public ViewModelDependencies(IViewModelFactory f, IUiThreadManager ui, IAsyncThreadManager async, IFrozenContext frozenCtx, IIdentityResolver idResolver)
 {
     Factory = f;
     UiThread = ui;
     AsyncThread = async;
     FrozenContext = frozenCtx;
     IdentityResolver = idResolver;
 }
Example #3
0
 /// <summary>
 /// Initialises a new DataOperationManager object with the value provided by the input parameter.
 /// </summary>
 /// <param name="uiThreadManager">The IUiThreadManager object to use to run data operations asynchronously.</param>
 public DataOperationManager(IUiThreadManager uiThreadManager)
 {
     UiThreadManager = uiThreadManager;
 }
Example #4
0
 public WpfModelFactory(Autofac.ILifetimeScope container, IUiThreadManager uiThread, IFrozenContext frozenCtx, ZetboxConfig cfg, IPerfCounter perfCounter, Func <DialogCreator> dialogFactory)
     : base(container, frozenCtx, cfg, perfCounter, dialogFactory)
 {
     this.uiThread = uiThread;
 }
Example #5
0
 public WpfModelFactory(Autofac.ILifetimeScope container, IUiThreadManager uiThread, IFrozenContext frozenCtx, ZetboxConfig cfg, IPerfCounter perfCounter, Func<DialogCreator> dialogFactory)
     : base(container, frozenCtx, cfg, perfCounter, dialogFactory)
 {
     this.uiThread = uiThread;
 }