Repo-wide sweep with the pinned CSharpier 1.3.0 tool. Whitespace and line-wrapping only; OpenNest.Engine.Tests (109) and OpenNest.IO.Tests pass after reformat, full solution builds 0 errors. Added .csharpierignore so csproj/config XML keeps its existing layout (CSharpier's XML wrapping churns attributes with zero benefit). Formatting is now enforceable: dotnet csharpier check . passes.
30 lines
511 B
C#
30 lines
511 B
C#
namespace OpenNest.CNC
|
|
{
|
|
public class Comment : ICode
|
|
{
|
|
public Comment() { }
|
|
|
|
public Comment(string value)
|
|
{
|
|
Value = value;
|
|
}
|
|
|
|
public string Value { get; set; }
|
|
|
|
public CodeType Type
|
|
{
|
|
get { return CodeType.Comment; }
|
|
}
|
|
|
|
public ICode Clone()
|
|
{
|
|
return new Comment(Value);
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return ':' + Value;
|
|
}
|
|
}
|
|
}
|