Class LocalizedResourcesSnapshot
Namespace: Cephalon.Abstractions.Localization
Assembly: Cephalon.Abstractions.dll
Captures the resolved localization state visible to the runtime.
public sealed class LocalizedResourcesSnapshotInheritance
Section titled “Inheritance”object ← LocalizedResourcesSnapshot
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”DefaultCulture
Section titled “ DefaultCulture”Gets the default catalog culture.
public string DefaultCulture { get; }Property Value
Section titled “Property Value”ResolvedCulture
Section titled “ ResolvedCulture”Gets the culture actually resolved for the snapshot.
public string ResolvedCulture { get; }Property Value
Section titled “Property Value”Resources
Section titled “ Resources”Gets the localized resources visible to the snapshot.
public IReadOnlyDictionary<string, string> Resources { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
SupportedCultures
Section titled “ SupportedCultures”Gets the cultures currently supported by the catalog.
public IReadOnlyList<string> SupportedCultures { get; }