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
urlStringstring- The URL string representing the resource address.
filePathstring optional- The file path representing the resource physical location, if applicable.
Exceptions
- ArgumentException
- Thrown when
urlStringisnullor empty.
