Show / Hide Table of Contents

Class Deconstructed

Static helpers for creating deconstructed containers.

Inheritance
System.Object
Deconstructed
Namespace: System.Memory
Assembly: Nuqleon.Memory.dll
Syntax
public static class Deconstructed : Object

Methods

Create<TCached, TNonCached>(TCached, TNonCached)

Creates a deconstructed instance from cached and non-cached components.

Declaration
public static Deconstructed<TCached, TNonCached> Create<TCached, TNonCached>(TCached cached, TNonCached nonCached)
Parameters
Type Name Description
TCached cached

The cached component.

TNonCached nonCached

The non-cached component.

Returns
Type Description
Deconstructed<TCached, TNonCached>

The deconstructed instance.

Type Parameters
Name Description
TCached

Type of the cached component.

TNonCached

Type of the non-cached component.

Create<TCached1, TCached2, TNonCached>(TCached1, TCached2, TNonCached)

Creates a deconstructed instance from cached and non-cached components.

Declaration
public static Deconstructed<TCached1, TCached2, TNonCached> Create<TCached1, TCached2, TNonCached>(TCached1 cached1, TCached2 cached2, TNonCached nonCached)
Parameters
Type Name Description
TCached1 cached1

The first cached component.

TCached2 cached2

The second cached component.

TNonCached nonCached

The non-cached component.

Returns
Type Description
Deconstructed<TCached1, TCached2, TNonCached>

The deconstructed instance.

Type Parameters
Name Description
TCached1

Type of the first cached component.

TCached2

Type of the second cached component.

TNonCached

Type of the non-cached component.

Create<TCached1, TCached2, TCached3, TNonCached>(TCached1, TCached2, TCached3, TNonCached)

Creates a deconstructed instance from cached and non-cached components.

Declaration
public static Deconstructed<TCached1, TCached2, TCached3, TNonCached> Create<TCached1, TCached2, TCached3, TNonCached>(TCached1 cached1, TCached2 cached2, TCached3 cached3, TNonCached nonCached)
Parameters
Type Name Description
TCached1 cached1

The first cached component.

TCached2 cached2

The second cached component.

TCached3 cached3

The third cached component.

TNonCached nonCached

The non-cached component.

Returns
Type Description
Deconstructed<TCached1, TCached2, TCached3, TNonCached>

The deconstructed instance.

Type Parameters
Name Description
TCached1

Type of the first cached component.

TCached2

Type of the second cached component.

TCached3

Type of the third cached component.

TNonCached

Type of the non-cached component.

Create<TCached1, TCached2, TCached3, TCached4, TNonCached>(TCached1, TCached2, TCached3, TCached4, TNonCached)

Creates a deconstructed instance from cached and non-cached components.

Declaration
public static Deconstructed<TCached1, TCached2, TCached3, TCached4, TNonCached> Create<TCached1, TCached2, TCached3, TCached4, TNonCached>(TCached1 cached1, TCached2 cached2, TCached3 cached3, TCached4 cached4, TNonCached nonCached)
Parameters
Type Name Description
TCached1 cached1

The first cached component.

TCached2 cached2

The second cached component.

TCached3 cached3

The third cached component.

TCached4 cached4

The fourth cached component.

TNonCached nonCached

The non-cached component.

Returns
Type Description
Deconstructed<TCached1, TCached2, TCached3, TCached4, TNonCached>

The deconstructed instance.

Type Parameters
Name Description
TCached1

Type of the first cached component.

TCached2

Type of the second cached component.

TCached3

Type of the third cached component.

TCached4

Type of the fourth cached component.

TNonCached

Type of the non-cached component.

In This Article
Back to top Generated by DocFX