Пример #1
0
        public IInstantiationRegistry WithManualMocking(ManualMocker manualMocker)
        {
            IsManualMocking = true;

            manualMocker(this);

            return(this);
        }
Пример #2
0
 public IInstantiationRegistry WithManualMocking(ManualMocker manualMocker)
 {
     return(Manager.WithManualMocking(manualMocker));
 }
Пример #3
0
        public static IInstantiationRegistry WithManualMocking(this IManager manager, ManualMocker manualMocker)
        {
            var instantiationRegistry = manager.GetExtensionDependency <IInstantiationRegistry>();

            return(instantiationRegistry.WithManualMocking(manualMocker));
        }