/// <summary> /// Initializes a new instance of the <see cref="LightInjectServiceScope"/> class. /// </summary> /// <param name="scope">The <see cref="Scope"/> wrapped by this class.</param> public LightInjectServiceScope(Scope scope) { wrappedScope = scope; ServiceProvider = new LightInjectServiceProvider(scope); scopecount++; scopeId = scopecount; Debug.WriteLine("Create Scope" + scopeId); }
public LightInjectServiceScope(Scope scope) { this.scope = scope; ServiceProvider = new LightInjectServiceProvider(scope); }
/// <summary> /// Initializes a new instance of the <see cref="LightInjectServiceScope"/> class. /// </summary> /// <param name="scope">The <see cref="Scope"/> wrapped by this class.</param> public LightInjectServiceScope(Scope scope) { wrappedScope = scope; ServiceProvider = new LightInjectServiceProvider(scope); }