public SimpleCombined1(ISingleton1 first, ITransient1 second) { if (first == null) { throw new ArgumentNullException(nameof(first)); } if (second == null) { throw new ArgumentNullException(nameof(second)); } }
public Combined1(ISingleton1 first, ITransient1 second) { if (first == null) { throw new ArgumentNullException("first"); } if (second == null) { throw new ArgumentNullException("second"); } System.Threading.Interlocked.Increment(ref counter); }
public Combined1(ISingleton1 first, ITransient1 second) { if (first == null) { throw new ArgumentNullException(nameof(first)); } if (second == null) { throw new ArgumentNullException(nameof(second)); } System.Threading.Interlocked.Increment(ref counter); }
public Combined1(ISingleton1 first, ITransient1 second) { if (first == null) { throw new ArgumentNullException("first"); } if (second == null) { throw new ArgumentNullException("second"); } Instances++; }
public ScopedCombined1(ITransient1 transient, ISingleton1 singleton) { if (transient == null) { throw new ArgumentNullException(nameof(transient)); } if (singleton == null) { throw new ArgumentNullException(nameof(singleton)); } if (!(transient is ScopedTransient)) { throw new ArgumentException("transient should be of type ScopedTransient"); } System.Threading.Interlocked.Increment(ref counter); }
public ScopedCombined1(ITransient1 transient, ISingleton1 singleton) { if (transient == null) { throw new ArgumentNullException(nameof(transient)); } if (singleton == null) { throw new ArgumentNullException(nameof(singleton)); } if (!(transient is ScopedTransient)) { throw new ArgumentException("transient should be of type ScopedTransient"); } System.Threading.Interlocked.Increment(ref counter); }
public ScopedCombined3(ITransient1 transient, ISingleton1 singleton) { if (transient == null) { throw new ArgumentNullException("transient"); } if (singleton == null) { throw new ArgumentNullException("singleton"); } if (!(transient is ScopedTransient)) { throw new ArgumentException("transient should be of type ScopedTransient"); } Instances++; }
public Combined12(ISingleton1 first, ITransient1 second) { }
public ScopedCombined1(ITransient1 transient, ISingleton1 singleton) { Transient = transient ?? throw new ArgumentNullException(nameof(transient)); Singleton = singleton ?? throw new ArgumentNullException(nameof(singleton)); }
public void Transient() { ITransient1 value = _benchmark.Transient(); Assert.IsType <Transient1>(value); }
public PluginWithDependencies(ITransient1 transient1) { }