refactor and moved normal resolver to library (forgot to commit this part last time).

This commit is contained in:
2019-01-21 23:38:25 -06:00
parent 010c66aa0e
commit 1b54dd2d28
3 changed files with 26 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
namespace RecrownedAthenaeum.ContentSystem
{
/// <summary>
/// Modifies the given path based on a name. Used to simplify long paths for the <see cref="ContentManagerController"/>
/// </summary>
public interface IContentPathResolver
{
/// <summary>
/// Returns the complete path with the content folder as root.
/// </summary>
/// <param name="contentPath">Is the asset's name</param>
/// <returns></returns>
string Modify(string contentPath);
}
}