Exemple #1
0
        public static MockActivator ActivatorFor(object obj)
        {
            MockActivator activator = new MockActivator();

            ((IActivatable)obj).Bind(activator);
            return(activator);
        }
 private MockActivator ActivatorFor(Task p)
 {
     MockActivator activator = new MockActivator();
     ((IActivatable)p).Bind(activator);
     return activator;
 }
Exemple #3
0
		public static MockActivator ActivatorFor(object obj)
		{
			MockActivator activator = new MockActivator();
			((IActivatable) obj).Bind(activator);
			return activator;
		}