Esempio n. 1
0
 private void ServiceLoader_EnableComplete(object sender, EventArgs e)
 {
     this._chatService = this.ServiceLoader.Get<ChatService>();
 }
Esempio n. 2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Chatter" /> class.
 /// </summary>
 /// <param name="chatService">The chat service being wrapped.</param>
 /// <param name="name">The prefix used for sending messages.</param>
 public Chatter(ChatService chatService, string name)
 {
     this.ChatService = chatService;
     this.Name = name;
 }