Ejemplo n.º 1
0
 public ViewContext(IViewStrategy strategy, Form form, ManageService manageService)
 {
     _strategy       = strategy;
     _form           = form;
     _manageService  = manageService;
     allFormElements = new List <IDisposable>();
     MakeView(_form, allFormElements);
 }
Ejemplo n.º 2
0
 public Module1Loader(
     IServiceLocator serviceLocator,
     IRegionManager regionManager,
     IBinder binder,
     IViewStrategy viewStrategy)
 {
     m_ServiceLocator = serviceLocator;
     m_RegionManager  = regionManager;
     m_Binder         = binder;
     m_ViewStrategy   = viewStrategy;
 }
Ejemplo n.º 3
0
 public Module1Loader(
     IServiceLocator serviceLocator,
     IRegionManager regionManager,
     IBinder binder,
     IViewStrategy viewStrategy)
 {
     m_ServiceLocator = serviceLocator;
     m_RegionManager = regionManager;
     m_Binder = binder;
     m_ViewStrategy = viewStrategy;
 }
Ejemplo n.º 4
0
 public CalculatorModule(IServiceLocator serviceLocator,
                         IRegionManager regionManager,
                         IBinder binder,
                         IViewStrategy viewStrategy
     )
 {
     _serviceLocator = serviceLocator;
     _regionManager = regionManager;
     _binder = binder;
     _viewStrategy = viewStrategy;
 }
Ejemplo n.º 5
0
 public void SetView(IViewStrategy strategy)
 {
     DisposeAll();
     _strategy = strategy;
     MakeView(_form, allFormElements);
 }
Ejemplo n.º 6
0
 public DockSitePresenter(IViewStrategy viewStrategy, IBinder binder, IShellPresenter shell)
 {
     _viewStrategy = viewStrategy;
     _binder       = binder;
     _shell        = shell;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultWindowManager"/> class.
 /// </summary>
 /// <param name="viewStrategy">The view strategy.</param>
 /// <param name="binder">The default binder.</param>
 public DefaultWindowManager(IViewStrategy viewStrategy, IBinder binder)
 {
     _viewStrategy = viewStrategy;
     _binder = binder;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initializes the framework with the specified view strategy.
 /// </summary>
 /// <param name="viewStrategy">The view strategy.</param>
 /// <param name="binder">The default binder.</param>
 public static void Initialize(IViewStrategy viewStrategy, IBinder binder)
 {
     _viewStrategy = viewStrategy;
     _binder = binder;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Sets the <see cref="IViewStrategy"/>.
 /// </summary>
 /// <param name="d">The d.</param>
 /// <param name="value">The value.</param>
 public static void SetStrategy(DependencyObject d, IViewStrategy value)
 {
     d.SetValue(StrategyProperty, value);
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultWindowManager"/> class.
 /// </summary>
 /// <param name="viewStrategy">The view strategy.</param>
 /// <param name="binder">The default binder.</param>
 public DefaultWindowManager(IViewStrategy viewStrategy, IBinder binder)
 {
     _viewStrategy = viewStrategy;
     _binder       = binder;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initializes the framework with the specified view strategy.
 /// </summary>
 /// <param name="viewStrategy">The view strategy.</param>
 /// <param name="binder">The default binder.</param>
 public static void Initialize(IViewStrategy viewStrategy, IBinder binder)
 {
     _viewStrategy = viewStrategy;
     _binder       = binder;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Sets the <see cref="IViewStrategy"/>.
 /// </summary>
 /// <param name="d">The d.</param>
 /// <param name="value">The value.</param>
 public static void SetStrategy(DependencyObject d, IViewStrategy value)
 {
     d.SetValue(StrategyProperty, value);
 }
Ejemplo n.º 13
0
 public void setViewStrategy(IViewStrategy viewStrategy)
 {
     this.viewStrategy = viewStrategy;
 }