コード例 #1
0
 public void ValueAttached(IUserContextScope currentScope, IUserContextKey key, object value)
 {
     SetIdentityNameFromScope(currentScope);
 }
コード例 #2
0
 private void SetIdentityNameFromScope(IUserContextScope currentScope)
 {
     _tracer.Context.Push(TracerContextKeys.UserAccount, "Not available");
 }
コード例 #3
0
 public void ScopeChanged(IUserContextScope currentScope)
 {
     SetIdentityNameFromScope(currentScope);
 }