ข้ามไปยังเนื้อหา

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 UriResolution

objectUriResolution

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

string

The resolved URI string.