Cosmos/source2/Kernel/System/Cosmos.System/Filesystem/Listing/Base.cs
mterwoord_cp 68ca31e1d3 .
2014-07-10 20:24:54 +00:00

23 lines
No EOL
579 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.System.Filesystem.Listing {
public abstract class Base {
public readonly FileSystem FileSystem;
public readonly string Name;
protected Base(FileSystem aFileSystem, string aName) {
FileSystem = aFileSystem;
Name = aName;
}
// Size might be updated in an ancestor destructor or on demand,
// so its not a readonly field
protected UInt64 mSize;
public UInt64 Size {
get { return mSize; }
}
}
}