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:38.872981+00:00 | zai-org/GLM-5-FP8 | 1 | 3c704825c4304c8c |
Resources
1. Purpose
This module provides localization infrastructure for the GroupList assembly. It contains a XAML markup extension for declarative string lookup and a strongly-typed resource accessor class generated from a .resx file. It centralizes UI string management for group-related views (e.g., "AssociatedTestSetups", "Channels", "Description").
2. Public Interface
Class: TranslateExtension (inherits MarkupExtension)
TranslateExtension(string key): Constructor that accepts the resource key to look up.object ProvideValue(IServiceProvider serviceProvider): Returns the localized string for the stored_key. Returns#stringnotfound#if the key is null/empty, or#stringnotfound# {key}if the lookup fails.
Class: StringResources (internal, auto-generated)
static ResourceManager ResourceManager: Gets the cachedResourceManagerinstance for theGroupList.Resources.StringResourcesresource set.static CultureInfo Culture: Gets or sets the current UI culture for resource lookups.static string AssociatedTestSetups: Looks up the "AssociatedTestSetups" string.static string Channels: Looks up the "Channels" string.static string Description: Looks up the "Description" string.static string LastModified: Looks up the "LastModified" string.static string LastModifiedBy: Looks up the "LastModifiedBy" string.static string Name: Looks up the "Name" string.static string TemplateName: Looks up the "TemplateName" string.
3. Invariants
TranslateExtension._keyis immutable after construction (readonly).TranslateExtensionalways returns a non-null string; it never throws on missing keys, instead returning a specific error constant.- `