示例#1
0
        public AssetToken get_assets_find_Name(AssetSearch search)
        {
            var asset = _assets.FindAsset(search.Name);

            return(asset == null ? new AssetToken {
                url = search.Name, file = "NOT FOUND"
            } : new AssetToken(asset));
        }
 public AssetToken get_assets_find_Name(AssetSearch search)
 {
     var asset = _assets.FindAsset(search.Name);
     return asset == null ? new AssetToken {url = search.Name, file = "NOT FOUND"} : new AssetToken(asset);
 }