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