sharp-chat/SharpChat.Protocol.IRC/Replies/Reply.cs
2022-08-30 17:05:29 +02:00

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;
}
}
}