コード例 #1
0
ファイル: Scope.cs プロジェクト: ResQue1980/LoLTeamChecker
 /// <summary>
 /// Returns an <see cref="FluorineFx.Context.IResource"/> handle for the specified path.
 /// </summary>
 /// <param name="path">The resource location.</param>
 /// <returns>An appropriate <see cref="FluorineFx.Context.IResource"/> handle.</returns>
 public IResource GetResource(string path)
 {
     if (HasContext)
     {
         return(_context.GetResource(path));
     }
     return(Context.GetResource(ContextPath + '/' + path));
 }