added image by name api methods

This commit is contained in:
Luke Pulverenti
2013-05-02 10:30:38 -04:00
parent b11d06f36f
commit 73b76a4f18
8 changed files with 51 additions and 4 deletions

View File

@@ -76,6 +76,16 @@ namespace MediaBrowser.Api
{
return ResultFactory.GetCachedResult(RequestContext, cacheKey, lastDateModified, cacheDuration, factoryFn, contentType);
}
/// <summary>
/// To the static file result.
/// </summary>
/// <param name="path">The path.</param>
/// <returns>System.Object.</returns>
protected object ToStaticFileResult(string path)
{
return ResultFactory.GetStaticFileResult(RequestContext, path);
}
}
/// <summary>