Class DalamudUri
A Dalamud Uri, in the format:
dalamud://{NAMESPACE}/{ARBITRARY}
Assembly: Dalamud.dll
View Source
public record DalamudUri : IEquatable<DalamudUri>
Implements:
System.IEquatable<Dalamud.Networking.Pipes.DalamudUri>
Properties
Namespace
Gets the namespace that this URI should be routed to. Generally a high level component like "PluginInstaller".
View Source
public string Namespace { get; }
Data
Gets the raw (untargeted) path and query params for this URI.
View Source
public string Data { get; }
Path
Gets the raw (untargeted) path for this URI.
View Source
public string Path { get; }
Segments
Gets a list of segments based on the provided Data element.
View Source
public string[] Segments { get; }
Query
Gets the raw query parameters for this URI, if any.
View Source
public string Query { get; }
QueryParams
Gets the query params (as a parsed NameValueCollection) in this URI.
View Source
public NameValueCollection QueryParams { get; }
Fragment
Gets the fragment (if one is specified) in this URI.
View Source
public string Fragment { get; }
Methods
ToString()
Returns a string that represents the current object.
View Source
public override string ToString()
Returns
System.String: A string that represents the current object.
FromUri(Uri)
Build a DalamudURI from a given URI.
View Source
public static DalamudUri FromUri(Uri uri)
Returns
Dalamud.Networking.Pipes.DalamudUri: Returns a DalamudUri.
Parameters
| Type | Name | Description |
|---|---|---|
System.Uri | uri | The URI to convert to a Dalamud URI. |
FromUri(string)
Build a DalamudURI from a URI in string format.
View Source
public static DalamudUri FromUri(string uri)
Returns
Dalamud.Networking.Pipes.DalamudUri: Returns a DalamudUri.
Parameters
| Type | Name | Description |
|---|---|---|
System.String | uri | The URI to convert to a Dalamud URI. |
Implements
System.IEquatable<Dalamud.Networking.Pipes.DalamudUri>