C# Class ParkitectNexus.Data.Web.NexusUrl

Represents an URL with the parkitectnexus protocol.
Inheritance: INexusUrl
显示文件 Open project: ParkitectNexus/ParkitectNexusClient Class Usage Examples

Public Methods

Method Description
NexusUrl ( UrlAction action, IUrlAction data ) : System

Initializes a new instance of the NexusUrl class.

Parse ( string input ) : NexusUrl

Parses the specified input to an instance of NexusUrl

TryParse ( string input, NexusUrl &output ) : bool

Tries the parse the specified input to an instance of NexusUrl.

Method Details

NexusUrl() public method

Initializes a new instance of the NexusUrl class.
public NexusUrl ( UrlAction action, IUrlAction data ) : System
action UrlAction
data IUrlAction
return System

Parse() public static method

Parses the specified input to an instance of NexusUrl
Thrown if invalid url format.
public static Parse ( string input ) : NexusUrl
input string The input.
return NexusUrl

TryParse() public static method

Tries the parse the specified input to an instance of NexusUrl.
Thrown if input is null.
public static TryParse ( string input, NexusUrl &output ) : bool
input string The input.
output NexusUrl The output.
return bool