Nexus.Client.ModManagement.NexusUrl.NexusUrl C# (CSharp) Method

NexusUrl() public method

A simple constructor that initializes the object with the given values.
Thrown if the given URI's scheme is not NXM.
public NexusUrl ( Uri p_uriUrl ) : System
p_uriUrl System.Uri The NXM URL.
return System
		public NexusUrl(Uri p_uriUrl)
			: base(p_uriUrl.ToString())
		{
			if (!Scheme.Equals("nxm", StringComparison.OrdinalIgnoreCase))
				throw new ArgumentException("Scheme must be NXM.");
		}
NexusUrl