Added Files
This commit is contained in:
32
PepLib.Core/Codes/Comment.cs
Normal file
32
PepLib.Core/Codes/Comment.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
namespace PepLib.Codes
|
||||
{
|
||||
public class Comment : ICode
|
||||
{
|
||||
public Comment()
|
||||
{
|
||||
}
|
||||
|
||||
public Comment(string value)
|
||||
{
|
||||
Value = value;
|
||||
}
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
public CodeType CodeType()
|
||||
{
|
||||
return Codes.CodeType.Comment;
|
||||
}
|
||||
|
||||
public ICode Clone()
|
||||
{
|
||||
return new Comment(Value);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return ':' + Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user