using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace IReaper.PathManager{
class TechnologyPathManager:IManager
{
#region IManager
/// <summary>
/// : "///"
/// </summary>
/// <param name="cData"></param>
/// <returns></returns>
public string GetRelativePath(IReaper.FileData.CourseFileData cData)
{
//cData
if(cData == null)
return null;
//
string tpPath = Path.Combine(cData.Owner.Technology,cData.Owner.Headline);
return tpPath;
}
public PathPolicyType Policy
{
get { return PathPolicyType.Technology; }
}
#endregion
}
}
|