IResolutionScope
Represents a resolution scope.
using System;
using System.Collections.Generic;
namespace Stashbox
{
public interface IResolutionScope : IDependencyResolver, IServiceProvider, IDisposable
{
IResolutionScope ParentScope { get; }
object Name { get; }
TDisposable AddDisposableTracking<TDisposable>(TDisposable disposable);
TService AddWithFinalizer<TService>(TService finalizable, Action<TService> finalizer);
object GetOrAddScopedObject(int key, object sync, Func<IResolutionScope, object> factory);
void InvalidateDelegateCache();
IEnumerable<object> GetActiveScopeNames();
void CheckRuntimeCircularDependencyBarrier(int key, Type type);
void ResetRuntimeCircularDependencyBarrier(int key);
}
}