Edytuj

Udostępnij za pośrednictwem


ObjectExtensions Class

Definition

Helpers for working with Object instances.

public static class ObjectExtensions
type ObjectExtensions = class
Public Module ObjectExtensions
Inheritance
ObjectExtensions

Methods

DangerousGetObjectDataByteOffset<T>(Object, T)

Calculates the byte offset to a specific field within a given Object.

DangerousGetObjectDataReferenceAt<T>(Object, IntPtr)

Gets a T reference to data within a given Object at a specified offset.

DangerousUnbox<T>(Object)

Unboxes a T value from an input Object instance.

TryUnbox<T>(Object, T)

Tries to get a boxed T value from an input Object instance.

Applies to