#10 move tokens to the root namespace for discoverability. upgrade xunit versions. there is a bug with test discovery for stringtokenizertests

This commit is contained in:
Eliot Jones
2018-11-16 20:00:12 +00:00
parent c72f3796e2
commit 0f68dfeb19
122 changed files with 134 additions and 133 deletions

View File

@@ -0,0 +1,29 @@
namespace UglyToad.PdfPig.Tokens
{
using ContentStream;
internal class ObjectToken : IDataToken<IToken>
{
/// <summary>
/// The offset of the start of the object number in the file bytes.
/// </summary>
public long Position { get; set; }
/// <summary>
/// The object and generation number of the object.
/// </summary>
public IndirectReference Number { get; }
/// <summary>
/// The inner data of the object.
/// </summary>
public IToken Data { get; }
public ObjectToken(long position, IndirectReference number, IToken data)
{
Position = position;
Number = number;
Data = data;
}
}
}