FtpStyleUriParser FtpStyleUriParser FtpStyleUriParser FtpStyleUriParser Class

定义

基于文件传输协议 (FTP) 方案的可自定义分析器。A customizable parser based on the File Transfer Protocol (FTP) scheme.

public ref class FtpStyleUriParser : UriParser
public class FtpStyleUriParser : UriParser
type FtpStyleUriParser = class
    inherit UriParser
Public Class FtpStyleUriParser
Inherits UriParser
继承
FtpStyleUriParserFtpStyleUriParserFtpStyleUriParserFtpStyleUriParser

构造函数

FtpStyleUriParser() FtpStyleUriParser() FtpStyleUriParser() FtpStyleUriParser()

创建一个基于文件传输协议 (FTP) 方案的可自定义分析器。Creates a customizable parser based on the File Transfer Protocol (FTP) scheme.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetComponents(Uri, UriComponents, UriFormat) GetComponents(Uri, UriComponents, UriFormat) GetComponents(Uri, UriComponents, UriFormat) GetComponents(Uri, UriComponents, UriFormat)

从 URI 获取各个组成部分。Gets the components from a URI.

(Inherited from UriParser)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
InitializeAndValidate(Uri, UriFormatException) InitializeAndValidate(Uri, UriFormatException) InitializeAndValidate(Uri, UriFormatException) InitializeAndValidate(Uri, UriFormatException)

初始化分析器的状态并验证 URI。Initialize the state of the parser and validate the URI.

(Inherited from UriParser)
IsBaseOf(Uri, Uri) IsBaseOf(Uri, Uri) IsBaseOf(Uri, Uri) IsBaseOf(Uri, Uri)

确定 baseUri 是否为 relativeUri 的基 URI。Determines whether baseUri is a base URI for relativeUri.

(Inherited from UriParser)
IsWellFormedOriginalString(Uri) IsWellFormedOriginalString(Uri) IsWellFormedOriginalString(Uri) IsWellFormedOriginalString(Uri)

指示 URI 是否是格式良好的。Indicates whether a URI is well-formed.

(Inherited from UriParser)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
OnNewUri() OnNewUri() OnNewUri() OnNewUri()

Uri 构造函数调用以获取一个 UriParser 实例。Invoked by a Uri constructor to get a UriParser instance

(Inherited from UriParser)
OnRegister(String, Int32) OnRegister(String, Int32) OnRegister(String, Int32) OnRegister(String, Int32)

在注册 UriParser 方法时由 Framework 调用。Invoked by the Framework when a UriParser method is registered.

(Inherited from UriParser)
Resolve(Uri, Uri, UriFormatException) Resolve(Uri, Uri, UriFormatException) Resolve(Uri, Uri, UriFormatException) Resolve(Uri, Uri, UriFormatException)

Uri 构造函数和 TryCreate 调用以解析相对 URI。Called by Uri constructors and TryCreate to resolve a relative URI.

(Inherited from UriParser)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于