using System;
namespace ChatSharp
{
///
/// A mask that can be used to match against a user's hostmask in a channel list,
/// such as banned users.
///
public class Mask
{
internal Mask(string value, IrcUser creator, DateTime creationTime)
{
Value = value;
Creator = creator;
CreationTime = creationTime;
}
///
/// The user who created this mask.
///
public IrcUser Creator { get; set; }
///
/// The time this mask was added to the channel list.
///
/// The creation time.
public DateTime CreationTime { get; set; }
///
/// The mask string.
///
public string Value { get; set; }
}
}