ResourceAddress Struct
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Represents a resource address with support for both URL and file path representations.
public readonly struct ResourceAddress : IResourceAddress- Inheritance
- Implements
Remarks
This class provides a unified implementation for addressing resources where the URL and file path may differ. Both representations are relative to the documentation root.
Thread Safety
All public members of the type are guaranteed to be thread-safe.
Constructors
| ResourceAddress(string, string) | Initializes a new instance of the ResourceAddress struct with the specified URL and file path. |
Properties
| RelativeFilePath | Gets the address of the resource as a file path relative to the documentation root, if applicable. |
| RelativeUrl | Gets the address of the resource as a URL string relative to the documentation root. |
