Show / Hide Table of Contents

Class BoxedValue

Represents extension methods for BoxedValue<T> class.

Inheritance
object
BoxedValue
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotNext.Runtime
Assembly: DotNext.dll
Syntax
public static class BoxedValue

Methods

| Edit this page View Source

Copy<T>(BoxedValue<T>)

Creates a bitwise copy of the boxed value.

Declaration
public static BoxedValue<T> Copy<T>(this BoxedValue<T> boxedValue) where T : struct
Parameters
Type Name Description
BoxedValue<T> boxedValue
Returns
Type Description
BoxedValue<T>

A reference to bitwise copy of the boxed value.

Type Parameters
Name Description
T
| Edit this page View Source

Unbox<T>(BoxedValue<T>)

Unboxes the value.

Declaration
public static ref T Unbox<T>(this BoxedValue<T> boxedValue) where T : struct
Parameters
Type Name Description
BoxedValue<T> boxedValue

A reference to the boxed value.

Returns
Type Description
T

A reference to the boxed value.

Type Parameters
Name Description
T

The value type.

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾