예제 #1
0
        public User(IChatMediator mediator, string name)
        {
            this.mediator = mediator;
            this.name     = name;

            this.mediator.AddUser(this);
        }
예제 #2
0
파일: User.cs 프로젝트: Beelzeb0ss/des-pat
        public User(IChatMediator chat, string name)
        {
            Id = Guid.NewGuid();

            Chat = chat;
            Name = name;

            Chat.AddUser(this);
        }
예제 #3
0
 public BasicUser(IChatMediator chatMediator, string name)
 {
     _chatMediator = chatMediator;
     Name          = name;
 }
예제 #4
0
 /// <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)
 {
 }
예제 #5
0
 public AbsUser(IChatMediator med, String name)
 {
     this.mediator = med;
     this.name     = name;
 }
예제 #6
0
 public BasicUser(string name, IChatMediator mediator)
 {
     this.chatMediator = mediator;
     this.name         = name;
 }
예제 #7
0
 protected ChatUser(IChatMediator chatMediator)
 {
     this.chatMediator = chatMediator;
 }
예제 #8
0
 public User(IChatMediator chatMediator)
 {
     _chatMediator = chatMediator;
 }
예제 #9
0
        //end


        public Player(IChatMediator chatMediator, string name)
        {
            this.Name         = name;
            this.chatMediator = chatMediator;
        }
예제 #10
0
 public BasicUser(IChatMediator chatMediator, string name)
 {
     this._name         = name;
     this._chatMediator = chatMediator;
 }
예제 #11
0
 public User(IChatMediator med, string name)
 {
     this._mediator = med;
     this._name     = name;
 }
예제 #12
0
 public PremiumUser(IChatMediator chatMediator, string name)
 {
     _chatMediator = chatMediator;
     Name          = name;
 }
 public YoungCharacter(IChatMediator chatMediator, string name)
 {
     this.chatMediator = chatMediator;
     this.name         = name;
 }
예제 #14
0
 public ChatUser(IChatMediator chatMediator) : base(chatMediator)
 {
 }
예제 #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)
 {
 }
예제 #16
0
 public ChatBot(IChatMediator chatMediator) : base(chatMediator)
 {
 }
 public UserImpl(IChatMediator chatMediator, string name) : base(chatMediator, name)
 {
 }
예제 #18
0
 public GoldUser(IChatMediator chatMediator, string userName)
 {
     this._userName     = userName;
     this._chatMediator = chatMediator;
 }
예제 #19
0
 protected User(string name, IChatMediator chatMediator)
 {
     Name         = name;
     ChatMediator = chatMediator;
 }
예제 #20
0
 public User(string name, IChatMediator chatroom)
 {
     mChatRoom = chatroom;
     mName     = name;
 }
예제 #21
0
 public void SetChat(IChatMediator chat)
 {
     Chat = chat;
     Chat.AddUser(this);
 }
예제 #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;
 }
예제 #24
0
 public User(IChatMediator chatMediator, string name)
 {
     this.chatMediator = chatMediator;
     this.name         = name;
 }
예제 #25
0
 public User(IChatMediator med, string name) : base(med, name)
 {
 }
예제 #26
0
 public UserOne(string name, IChatMediator chatMediator)
     : base(name, chatMediator)
 {
 }
예제 #27
0
 public ChatUser(string userName, IChatMediator chatMediator)
 {
     this.userName     = userName;
     this.chatMediator = chatMediator;
     LastMessage       = String.Empty;
 }