Class
DynamicHelper

Encapsulates helper methods to generate Dynamic methods using System.Reflection.Emit.

Definition

Namespace:Telerik.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public static class DynamicHelper

Inheritance: objectDynamicHelper

Methods

CreatePropertyValueGetter(Type, string)

Generates a untyped function to allow retrieving property values for instances of the specified type without using reflection.

Declaration

cs-api-definition
public static Func<object, object> CreatePropertyValueGetter(Type type, string propertyName)

Parameters

type

Type

The type.

propertyName

string

Name of the property.

Returns

Func<object, object>