2.0 KiB
2.0 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T16:12:45.079196+00:00 | zai-org/GLM-5-FP8 | 1 | b088df474836561f |
Resources
1. Purpose
This module provides localization resources specifically for the Diagnostics assembly. It enables XAML-based UI components to bind to localized strings via the TranslateExtension markup extension, and exposes strongly-typed access to culture-specific resources (such as "Channels", "Details", "Groups", "Hardware") through the auto-generated StringResources class.
2. Public Interface
Class: Diagnostics.TranslateExtension
public TranslateExtension(string key)— Constructor that accepts the resource key to be localized.public override object ProvideValue(IServiceProvider serviceProvider)— Returns the localized string corresponding to_key. Returns#stringnotfound#if the key is null or empty. Returns#stringnotfound# {key}if the lookup fails.
Class: Diagnostics.Resources.StringResources (internal)
internal static global::System.Resources.ResourceManager ResourceManager— Returns the cached ResourceManager instance for theDiagnostics.Resources.StringResourcesresource set.internal static global::System.Globalization.CultureInfo Culture— Gets or sets the current UI culture for resource lookups.internal static string Channels— Looks up the localized string for "Channels".internal static string Details— Looks up the localized string for "Details".internal static string Groups— Looks up the localized string for "Group(s)".internal static string Hardware— Looks up the localized string for "Hardware".
3. Invariants
TranslateExtensionnever returnsnull; it returns a fallback string constant#stringnotfound#in error cases.- `StringResources