Class UriResolution
Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll
Resolves a provider URI from either an inline value or a named entry under
the root Uris section.
public static class UriResolutionInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”Resolve(IConfiguration?, string?, string?, string, string, string)
Section titled “ Resolve(IConfiguration?, string?, string?, string, string, string)”Resolves the effective provider URI for a pack or provider.
public static string Resolve(IConfiguration? configuration, string? uri, string? uriName, string defaultUri, string sectionPath, string providerDisplayName)Parameters
Section titled “Parameters”configuration IConfiguration?
The application configuration root.
uri string?
The inline URI value.
uriName string?
The root-level Uris key to resolve when an inline value is not used.
defaultUri string
The provider default to use when neither an inline value nor a named value is configured.
sectionPath string
The logical provider options section used for diagnostics.
providerDisplayName string
The provider name used in human-readable error messages.
Returns
Section titled “Returns”The resolved URI string.