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