public ProcessorInfo(string serviceID, string aSessionId, OperationContext aCtx) { ServiceID = serviceID; ID = aSessionId; _callBack = aCtx.GetCallbackChannel <IWCFCallback>(); Chanel = aCtx.Channel; SessionObject = aCtx.Channel; }
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>(); }