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

Class LocalizedResourcesSnapshot

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Localization
Assembly: Cephalon.Abstractions.dll

Captures the resolved localization state visible to the runtime.

public sealed class LocalizedResourcesSnapshot

objectLocalizedResourcesSnapshot

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

LocalizedResourcesSnapshot(string, string, IReadOnlyList<string>, IReadOnlyDictionary<string, string>)

Section titled “ LocalizedResourcesSnapshot(string, string, IReadOnlyList<string>, IReadOnlyDictionary<string, string>)”

Creates a localization snapshot.

public LocalizedResourcesSnapshot(string defaultCulture, string resolvedCulture, IReadOnlyList<string> supportedCultures, IReadOnlyDictionary<string, string> resources)

defaultCulture string

The default catalog culture.

resolvedCulture string

The culture actually resolved for the snapshot.

supportedCultures IReadOnlyList<string>

The cultures currently supported by the catalog.

resources IReadOnlyDictionary<string, string>

The localized resources visible to the snapshot.

Gets the default catalog culture.

public string DefaultCulture { get; }

string

Gets the culture actually resolved for the snapshot.

public string ResolvedCulture { get; }

string

Gets the localized resources visible to the snapshot.

public IReadOnlyDictionary<string, string> Resources { get; }

IReadOnlyDictionary<string, string>

Gets the cultures currently supported by the catalog.

public IReadOnlyList<string> SupportedCultures { get; }

IReadOnlyList<string>