Пример #1
0
 public ProcessorInfo(string serviceID, string aSessionId, OperationContext aCtx)
 {
     ServiceID     = serviceID;
     ID            = aSessionId;
     _callBack     = aCtx.GetCallbackChannel <IWCFCallback>();
     Chanel        = aCtx.Channel;
     SessionObject = aCtx.Channel;
 }
Пример #2
0
 public UserInfo(string login, string sessionId, OperationContext ctx)
 {
     Login         = login;
     ID            = sessionId;
     _callBack     = ctx.GetCallbackChannel <IWCFCallback>();
     Chanel        = ctx.Channel;
     SessionObject = ctx.Channel;
     Accounts      = new List <AccountInfo>();
 }