Example #1
0
 internal ServiceUser(ServerClient client, Credential credential)
 {
     Client    = client;
     Session   = new ServiceSessionState();
     Identity  = credential;
     Connected = true;
     Contexts  = new Dictionary <ServiceChannel, ServiceContext>();
 }
Example #2
0
 public ServiceContext(ServiceUser user, ServiceChannel channel)
 {
     User    = user;
     Channel = channel;
     Session = new ServiceSessionState();
 }