2.7 KiB
2.7 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T16:37:50.439380+00:00 | zai-org/GLM-5-FP8 | 1 | b7cd54942c3bd36f |
Documentation: GeneratedInternalTypeHelper
1. Purpose
This module contains auto-generated helper classes produced by the WPF build pipeline (PresentationBuildTasks) during XAML compilation. The GeneratedInternalTypeHelper class provides reflection-based utility methods that enable the WPF XAML parser to instantiate types, access properties, create delegates, and attach event handlers at runtime for types that may not be directly accessible. This is infrastructure code generated automatically as part of the XAML markup compilation process and is not intended for direct developer consumption.
2. Public Interface
Class: GeneratedInternalTypeHelper (sealed)
- Namespace:
XamlGeneratedNamespace - Base Class:
System.Windows.Markup.InternalTypeHelper - Attributes:
System.Diagnostics.DebuggerNonUserCodeAttributeSystem.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)
Methods:
| Method | Signature | Description |
|---|---|---|
CreateInstance |
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) |
Creates an instance of the specified type using System.Activator.CreateInstance with Public | NonPublic | Instance | CreateInstance binding flags. |
GetPropertyValue |
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) |
Retrieves the value of a property from the target object using reflection with BindingFlags.Default. |
SetPropertyValue |
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) |
Sets the value of a property on the target object using reflection with BindingFlags.Default. |
CreateDelegate |
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) |
Creates a delegate by invoking a non-public instance method _CreateDelegate on the target object via InvokeMember. |
AddEventHandler |
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) |
Attaches an event handler to the specified event on the target object using EventInfo.AddEventHandler. |