15 lines
369 B
C#
15 lines
369 B
C#
|
namespace SharpChat.Protocol.IRC.Replies {
|
|||
|
public abstract class Reply : IReply {
|
|||
|
public abstract int ReplyCode { get; }
|
|||
|
private string Line { get; set; }
|
|||
|
|
|||
|
protected abstract string BuildLine();
|
|||
|
|
|||
|
public string GetLine() {
|
|||
|
if(Line == null)
|
|||
|
Line = BuildLine();
|
|||
|
return Line;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|