Пример #1
0
        public static MockActivator ActivatorFor(object obj)
        {
            MockActivator activator = new MockActivator();

            ((IActivatable)obj).Bind(activator);
            return(activator);
        }
Пример #2
0
 private MockActivator ActivatorFor(Task p)
 {
     MockActivator activator = new MockActivator();
     ((IActivatable)p).Bind(activator);
     return activator;
 }
Пример #3
0
		public static MockActivator ActivatorFor(object obj)
		{
			MockActivator activator = new MockActivator();
			((IActivatable) obj).Bind(activator);
			return activator;
		}