Class Channel
Represents an IRC channel with its users and messages.
Inheritance
System.Object
Channel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GravyIrc
Assembly: GravyIrc.dll
Syntax
public class Channel
Constructors
| Improve this Doc View SourceChannel(String)
Declaration
public Channel(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Properties
| Improve this Doc View SourceMessages
Messages received in channel since client connected
Declaration
public ObservableCollection<ChatMessage> Messages { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ChatMessage> |
Name
Name of channel
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Typically prefixed with a '#'
Users
Collection of users currently in channel
Declaration
public ObservableCollection<ChannelUser> Users { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ChannelUser> |
Methods
| Improve this Doc View SourceGetUser(String)
Get a user in the channel
Declaration
public ChannelUser GetUser(string nick)
Parameters
Type | Name | Description |
---|---|---|
System.String | nick | Nick of user |
Returns
Type | Description |
---|---|
ChannelUser | User, if found |