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