C# 클래스 OpenStack.Net.UriExtensions

Provides extension methods to support consistent Uri API operations across multiple versions of the .NET framework.
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa

공개 메소드들

메소드 설명
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[]