ResourceAddress Constructor

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the ResourceAddress struct with the specified URL and file path.
public ResourceAddress(string urlString, string filePath = null)

Parameters

urlString string
The URL string representing the resource address.
filePath string optional
The file path representing the resource physical location, if applicable.

Exceptions

ArgumentException
Thrown when urlString is null or empty.