Example #1
0
        /// <inheritdoc />
        public void OnEndRequest(object sender, EventArgs _)
        {
            var scope = DefaultScopeContext.GetCurrentOrDefault();

            if (scope?.Name.Equals(Reuse.WebRequestScopeName) == true)
            {
                scope.Dispose();
            }
        }