Compartilhar via


PexSafeHelpers Class

Definition

Static helper class which allows to manipulate values in a safe fashion which might not be expressible in C#.

public ref class PexSafeHelpers abstract sealed
public static class PexSafeHelpers
type PexSafeHelpers = class
Public Class PexSafeHelpers
Inheritance
PexSafeHelpers

Methods

AssignBoxedValue<T>(Object, T)

Sets the boxed value of an existing box object.

ByteToBoolean(Byte)

Returns a bool which has the bit-pattern of the given byte.

IsInst<T>(Object)

Attempts to cast a value, returning null if cast fails.

Applies to