Cosmos/source/Cosmos.Kernel.FileSystems/Old/Path.cs
kudzu_cp fef34dae02
2008-05-07 00:30:49 +00:00

33 lines
747 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.Kernel.FileSystem
{
/// <summary>
/// Represents a path in a filesystem agnostic fashion.
/// </summary>
public class Path
{
private string[] _parts;
/// <summary>
/// Gets the steps.
/// </summary>
public string[] Parts
{
get
{
return _parts;
}
}
/// <summary>
/// Creates a new path.
/// </summary>
/// <param name="args">Each step in getting to the file.</param>
public Path(params string[] parts)
{
_parts = parts;
}
}
}