public ContextWrapperDependencyResolution(IContextualStorageStrategy contextualStorageStrategy, IDependencyResolution innerDependencyResolution) : base(DependencyLifetime.Singleton) { if ((object)contextualStorageStrategy == null) throw new ArgumentNullException(nameof(contextualStorageStrategy)); if ((object)innerDependencyResolution == null) throw new ArgumentNullException(nameof(innerDependencyResolution)); this.contextualStorageStrategy = contextualStorageStrategy; this.innerDependencyResolution = innerDependencyResolution; }
public ContextWrapperDependencyResolution(IContextualStorageStrategy contextualStorageStrategy, IDependencyResolution innerDependencyResolution) : base(DependencyLifetime.Singleton) { if ((object)contextualStorageStrategy == null) { throw new ArgumentNullException(nameof(contextualStorageStrategy)); } if ((object)innerDependencyResolution == null) { throw new ArgumentNullException(nameof(innerDependencyResolution)); } this.contextualStorageStrategy = contextualStorageStrategy; this.innerDependencyResolution = innerDependencyResolution; }