Files
DP44/docs/ai/DataPRO/Modules/RegionOfInterest/RegionOfInterestChannels/Resources.md
2026-04-17 14:55:32 -04:00

1.2 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/RegionOfInterest/RegionOfInterestChannels/Resources/TranslateExtension.cs
DataPRO/Modules/RegionOfInterest/RegionOfInterestChannels/Resources/StringResources.Designer.cs
2026-04-17T16:28:42.807502+00:00 zai-org/GLM-5-FP8 1 d7f01f47dc29f209

Resources

Purpose

This module provides localization infrastructure for the RegionOfInterestChannels subsystem. It includes a WPF markup extension for XAML-based string localization and a strongly-typed resource class containing user-facing messages related to channel-to-ROI (Region of Interest) assignments and validation warnings.

Public Interface

TranslateExtension (class, inherits MarkupExtension)

  • public TranslateExtension(string key) — Constructor accepting a resource key.
  • public override object ProvideValue(IServiceProvider serviceProvider) — Returns localized string for the key, or "#stringnotfound# <key>" if not found. Returns "#stringnotfound#" if key is null or empty.
  • Decorated with [MarkupExtensionReturnType(typeof(string))] for XAML type safety.

StringResources (internal sealed class)

  • `internal static global::System.Resources.Resource