Cosmos/source/Cosmos.System/FileSystem/Listing/Base.cs
Matthijs ter Woord d9a9737608 Filesystem/VFS/FAT work by @charlesbetros has been merged into main kernel.
This does NOT mean it's fully working yet!
2015-10-02 17:12:00 +02:00

26 lines
No EOL
637 B
C#

using System;
using System.Linq;
using System.Threading.Tasks;
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; }
}
}
}