Table of Contents

Class RStruct<T>

Namespace
SearchAThing.Ext
Assembly
netcore-ext.dll

encapsulate a value type object into a reference type in an immutable way; implicit conversion operator allow to access enclosed type

public class RStruct<T> where T : struct

Type Parameters

T
encapsulate a value type object into a reference type in an immutable way; implicit conversion operator allow to access enclosed type
Inheritance
RStruct<T>
Inherited Members
Extension Methods

Constructors

RStruct(T)

public RStruct(T value)

Parameters

value T

Properties

Value

public T Value { get; }

Property Value

T

Methods

ToString()

public override string ToString()

Returns

string

Operators

implicit operator T(RStruct<T>)

public static implicit operator T(RStruct<T> x)

Parameters

x RStruct<T>

Returns

T