Files
runner/src/Sdk/DTLogging/Logging/ReplacementPosition.cs
2019-10-10 00:52:42 -04:00

30 lines
619 B
C#

using System;
namespace GitHub.DistributedTask.Logging
{
internal sealed class ReplacementPosition
{
public ReplacementPosition(Int32 start, Int32 length)
{
Start = start;
Length = length;
}
public ReplacementPosition(ReplacementPosition copy)
{
Start = copy.Start;
Length = copy.Length;
}
public Int32 Start { get; set; }
public Int32 Length { get; set; }
public Int32 End
{
get
{
return Start + Length;
}
}
}
}