public IocInjectedFacts(IDependency dependency, IOtherDependency otherDependency) { _dependency = dependency; _otherDependency = otherDependency; }
public MyService_NullableIntArgWithIntValue(IOtherDependency otherDependency, int?optionalArgument = 15) { OtherDependency = otherDependency; OptionalArgument = optionalArgument ?? 42; }
public Component(ILog logger, IOtherDependency stuff) { _logger = logger; }
public MyService_IntDefaultArg(IOtherDependency otherDependency, int optionalArgument = 15) { OtherDependency = otherDependency; OptionalArgument = optionalArgument; }
public MyService_NullableIntArgWithNullValue(IOtherDependency otherDependency, int?optionalArgument = null) { OtherDependency = otherDependency; OptionalArgument = optionalArgument ?? 15; }
public AutofacRequestScopeFacts(IDependency dependency, IOtherDependency otherDependency) { _dependency = dependency; _otherDependency = otherDependency; }
public ClassUnderTest(ISomeDependency a, IOtherDependency b) { this.a = a; this.b = b; }
public SampleService(IOtherDependency dependency) { _dependency = dependency; }
public Service(IOtherDependency otherDependency, Foo foo, Bar bar) : base(foo, bar) { }
public Service(IOtherDependency otherDependency, IServiceProvider provider) : base(provider) { }
public SampleJob(IOtherDependency dependency) { _dependency = dependency; }
public T Initialize <T>(this T t, ITestInterface dependency, IOtherDependency other) where T : TestClass { t.FooBar = dependency; t.OtherDependency = other; return(t); }
public TestLoggerScript(IOtherDependency otherDependency) { this.otherDependency = otherDependency; this.otherDependency.PrintLogStatement(); }
public ClassWithMultipleDependencies(IDependency dependency, IOtherDependency otherDependency) { this.dependency = dependency; this.otherDependency = otherDependency; }