Exemplo n.º 1
0
 /// <inheritdoc />
 public void OnBeginRequest(object sender, EventArgs _)
 {
     DefaultScopeContext.SetCurrent(scope =>
                                    scope ?? Scope.Of(Reuse.WebRequestScopeName));
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public void OnBeginRequest(object sender, EventArgs _)
 {
     DefaultScopeContext.SetCurrent(scope =>
                                    scope ?? new Scope(parent: null, name: Reuse.WebRequestScopeName));
 }