예제 #1
0
파일: Bundle.cs 프로젝트: everlive/cassette
        internal IAsset FindAssetByPath(string pathToFind)
        {
            var assetFinder = new AssetFinder(pathToFind);

            Accept(assetFinder);
            return(assetFinder.FoundAsset);
        }
예제 #2
0
파일: Bundle.cs 프로젝트: yukine/cassette
        internal IAsset FindAssetByPath(string pathToFind)
        {
            //return assets.FirstOrDefault(asset => PathUtilities.PathsEqual(asset.Path, pathToFind));
            var assetFinder = new AssetFinder(pathToFind);

            Accept(assetFinder);
            return(assetFinder.FoundAsset);
        }
예제 #3
0
 internal IAsset FindAssetByPath(string pathToFind)
 {
     var assetFinder = new AssetFinder(pathToFind);
     Accept(assetFinder);
     return assetFinder.FoundAsset;
 }
예제 #4
0
 internal IAsset FindAssetByPath(string pathToFind)
 {
     //return assets.FirstOrDefault(asset => PathUtilities.PathsEqual(asset.Path, pathToFind));
     var assetFinder = new AssetFinder(pathToFind);
     Accept(assetFinder);
     return assetFinder.FoundAsset;
 }