Esempio n. 1
0
        public User(IChatMediator mediator, string name)
        {
            this.mediator = mediator;
            this.name     = name;

            this.mediator.AddUser(this);
        }
Esempio n. 2
0
        public User(IChatMediator chat, string name)
        {
            Id = Guid.NewGuid();

            Chat = chat;
            Name = name;

            Chat.AddUser(this);
        }
Esempio n. 3
0
 public BasicUser(IChatMediator chatMediator, string name)
 {
     _chatMediator = chatMediator;
     Name          = name;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PremiumUser"/> class.
 /// </summary>
 /// <param name="chatMediator">The chat mediator.</param>
 /// <param name="name">The name.</param>
 public PremiumUser(IChatMediator chatMediator, string name)
     : base(chatMediator, name)
 {
 }
Esempio n. 5
0
 public AbsUser(IChatMediator med, String name)
 {
     this.mediator = med;
     this.name     = name;
 }
Esempio n. 6
0
 public BasicUser(string name, IChatMediator mediator)
 {
     this.chatMediator = mediator;
     this.name         = name;
 }
Esempio n. 7
0
 protected ChatUser(IChatMediator chatMediator)
 {
     this.chatMediator = chatMediator;
 }
Esempio n. 8
0
 public User(IChatMediator chatMediator)
 {
     _chatMediator = chatMediator;
 }
Esempio n. 9
0
        //end


        public Player(IChatMediator chatMediator, string name)
        {
            this.Name         = name;
            this.chatMediator = chatMediator;
        }
Esempio n. 10
0
 public BasicUser(IChatMediator chatMediator, string name)
 {
     this._name         = name;
     this._chatMediator = chatMediator;
 }
Esempio n. 11
0
 public User(IChatMediator med, string name)
 {
     this._mediator = med;
     this._name     = name;
 }
Esempio n. 12
0
 public PremiumUser(IChatMediator chatMediator, string name)
 {
     _chatMediator = chatMediator;
     Name          = name;
 }
 public YoungCharacter(IChatMediator chatMediator, string name)
 {
     this.chatMediator = chatMediator;
     this.name         = name;
 }
Esempio n. 14
0
 public ChatUser(IChatMediator chatMediator) : base(chatMediator)
 {
 }
Esempio n. 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BasicUser"/> class.
 /// </summary>
 /// <param name="chatMediator">The chat mediator.</param>
 /// <param name="name">The name.</param>
 public BasicUser(IChatMediator chatMediator, string name)
     : base(chatMediator, name)
 {
 }
Esempio n. 16
0
 public ChatBot(IChatMediator chatMediator) : base(chatMediator)
 {
 }
 public UserImpl(IChatMediator chatMediator, string name) : base(chatMediator, name)
 {
 }
Esempio n. 18
0
 public GoldUser(IChatMediator chatMediator, string userName)
 {
     this._userName     = userName;
     this._chatMediator = chatMediator;
 }
Esempio n. 19
0
 protected User(string name, IChatMediator chatMediator)
 {
     Name         = name;
     ChatMediator = chatMediator;
 }
Esempio n. 20
0
 public User(string name, IChatMediator chatroom)
 {
     mChatRoom = chatroom;
     mName     = name;
 }
Esempio n. 21
0
 public void SetChat(IChatMediator chat)
 {
     Chat = chat;
     Chat.AddUser(this);
 }
Esempio n. 22
0
 public PremiumUser(string name, IChatMediator mediator)
 {
     this.name         = name;
     this.chatMediator = mediator;
 }
 public PremiumUser(IChatMediator chatMediator, string name)
 {
     this._chatMediator = chatMediator;
     this._name         = name;
 }
 public User(IChatMediator chatMediator, string name)
 {
     this.chatMediator = chatMediator;
     this.name         = name;
 }
Esempio n. 25
0
 public User(IChatMediator med, string name) : base(med, name)
 {
 }
Esempio n. 26
0
 public UserOne(string name, IChatMediator chatMediator)
     : base(name, chatMediator)
 {
 }
Esempio n. 27
0
 public ChatUser(string userName, IChatMediator chatMediator)
 {
     this.userName     = userName;
     this.chatMediator = chatMediator;
     LastMessage       = String.Empty;
 }