Still don't know how to properly handle position

This commit is contained in:
Michael Becker 2014-07-05 19:11:44 -04:00
parent 76b3a77d13
commit dd802fa789

View File

@ -18,8 +18,8 @@ namespace UniversalEditor
public abstract long Length { get; set; }
private long mvarPosition = 0;
public virtual long Position { get { return mvarPosition; } set { Seek(value, SeekOrigin.Begin); mvarPosition = value; } }
protected abstract long GetPosition();
public virtual long Position { get { return GetPosition(); } set { Seek(value, SeekOrigin.Begin); } }
public long Remaining
{