コード例 #1
0
 public BaseUser(ChatService service, string userName, IUserInfoAPIClient apiClient)
 {
     this.serviceUserName = userName;
     this.chatService = service;
     this.apiClient = apiClient;
     this.PopulateUser();
 }
コード例 #2
0
ファイル: BaseUser.cs プロジェクト: moeller142/ChargeChatApp
 /// <summary>
 /// Constructor for BaseUser
 /// </summary>
 /// <param name="service">Chat Service they are associated with</param>
 /// <param name="userName">Unique identifier for their chat service</param>
 /// <param name="apiClient">API Client for getting data on user and thier service</param>
 /// <param name="derivedClass">Dervived class that is being created</param>
 public BaseUser(ChatService service, string userName, IUserInfoAPIClient apiClient, Type derivedClass)
 {
     this.UniqueIdentifierForService = userName;
     this.ChatService = service;
     this.ApiClent    = apiClient;
     this.internalToServiceObjectMapping = GetMapping();
     this.derivedClass = derivedClass;
 }