public ChatModerator(ChatPublisher publisher, string name) { this.publisher = publisher; this.name = name; this.publisher.AddSubscriber(this, "MODERATOR"); }
public ChatParticipant(ChatPublisher publisher, string name) { this.publisher = publisher; this.name = name; this.publisher.AddSubscriber(this, "COMMON"); }