Still don't know how to properly handle position
This commit is contained in:
parent
76b3a77d13
commit
dd802fa789
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user