public static ToFileSystemPath ( this uri, string path ) : string | ||
uri | this | Azure storage blob URI |
path | string | |
리턴 | string |
public static string ToFileSystemPath( this string uri, string path )
{
bool isDir = uri.EndsWith(@"/");
if (isDir)
{
// Note: append the directory end tag "/"
return path + FileNameHelpers.GetDirectoryName(uri) + "/";
}
else
{
// The path is a file...
return path + FileNameHelpers.GetFileName( uri );
}
}
AzureExtensions::ToFileSystemPath ( this uris, string path ) : string[] |