Achilles.Acme.Storage.Azure.AzureExtensions.ToAzurePath C# (CSharp) Метод

ToAzurePath() публичный статический Метод

Convert a file system path to an azure path.
public static ToAzurePath ( this path ) : string
path this
Результат string
        public static string ToAzurePath( this string path )
        {
            if ((path == null) || (path.Length <= 1) || (path[0] != '/'))
                throw new Exception("Invalid argument for function:ToAzurePath");

            return path.Remove(0, 1);
        }