C# Класс OpenStack.Net.UriExtensions

Provides extension methods to support consistent Uri API operations across multiple versions of the .NET framework.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetSegments ( this uri ) : string[]

Gets an array of individual segments of the Uri.AbsolutePath of a Uri.

The array returned by this method has the following properties. The first item in the array is the root segment /. Each item in the array except the last ends with a trailing /. The last item in the array only contains a trailing / if the absolute path of the URI ends with a /.

Описание методов

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

Gets an array of individual segments of the Uri.AbsolutePath of a Uri.
The array returned by this method has the following properties. The first item in the array is the root segment /. Each item in the array except the last ends with a trailing /. The last item in the array only contains a trailing / if the absolute path of the URI ends with a /.
If is . If is a relative URI.
public static GetSegments ( this uri ) : string[]
uri this The instance.
Результат string[]