コード例 #1
0
		public void Setup()
		{
			injector = new RobotlegsInjector();
			instance = new ViewProcessorMap(new ViewProcessorFactory(injector));

			mediatorWatcher = new MediatorWatcher();
			injector.Map(typeof(MediatorWatcher)).ToValue(mediatorWatcher);
			matchingView = new SupportView();
		}
コード例 #2
0
        public void Setup()
        {
            injector = new RobotlegsInjector();
            instance = new ViewProcessorMap(new ViewProcessorFactory(injector));

            mediatorWatcher = new MediatorWatcher();
            injector.Map(typeof(MediatorWatcher)).ToValue(mediatorWatcher);
            matchingView = new SupportView();
        }
コード例 #3
0
 public void Setup()
 {
     injector = new RobotlegsInjector();
     injector.Map(typeof(RobotlegsInjector)).ToValue(injector);
     viewProcessorMap   = new ViewProcessorMap(new ViewProcessorFactory(injector));
     trackingProcessor  = new TrackingProcessor();
     trackingProcessor2 = new TrackingProcessor();
     matchingView       = new SupportView();
     nonMatchingView    = new ObjectB();
     guardObject        = new GuardObject();
     matchingView2      = new SupportViewWithWidthAndHeight();
 }
コード例 #4
0
		public void Setup()
		{
			injector = new RobotlegsInjector();
			injector.Map(typeof(RobotlegsInjector)).ToValue(injector);
			viewProcessorMap = new ViewProcessorMap(new ViewProcessorFactory(injector));
			trackingProcessor = new TrackingProcessor();
			trackingProcessor2 = new TrackingProcessor();
			matchingView = new SupportView();
			nonMatchingView = new ObjectB();
			guardObject = new GuardObject();
			matchingView2 = new SupportViewWithWidthAndHeight();
		}
コード例 #5
0
		public void TearDown()
		{
			instance = null;
			injector = null;
			mediatorWatcher = null;
		}
コード例 #6
0
 public void TearDown()
 {
     instance        = null;
     injector        = null;
     mediatorWatcher = null;
 }