Show / Hide Table of Contents

Struct TransformationComputationWrapper<TIn, TOut>

Wraps computations from the type TIn to the type TOut

Implements
IEquatable<TransformationComputationWrapper<TIn, TOut>>
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: NMF.Transformations.Linq
Assembly: NMF.Transformations.dll
Syntax
public struct TransformationComputationWrapper<TIn, TOut> : IEquatable<TransformationComputationWrapper<TIn, TOut>> where TIn : class where TOut : class
Type Parameters
Name Description
TIn

The input type for the wrapped computation

TOut

The output type for the wrapped computations

Constructors

| Edit this page View Source

TransformationComputationWrapper(Computation)

Wraps the given computation into a typed wrapping structure

Declaration
public TransformationComputationWrapper(Computation inner)
Parameters
Type Name Description
Computation inner

The computation that is to be wrapped

Properties

| Edit this page View Source

Computation

Gets the underlying computation

Declaration
public Computation Computation { get; }
Property Value
Type Description
Computation
| Edit this page View Source

Input

Gets the input of the represented computation

Declaration
public TIn Input { get; }
Property Value
Type Description
TIn
| Edit this page View Source

Output

Gets the output of the represented computation

Declaration
public TOut Output { get; }
Property Value
Type Description
TOut

Methods

| Edit this page View Source

Equals(TransformationComputationWrapper<TIn, TOut>)

Gets a value indicating whether the current transformation computation wrapper and the provided instance should be treated as equal

Declaration
public bool Equals(TransformationComputationWrapper<TIn, TOut> other)
Parameters
Type Name Description
TransformationComputationWrapper<TIn, TOut> other

The other instance

Returns
Type Description
bool

True, if the current object represents the same value as the given parameter, otherwise false

| Edit this page View Source

Equals(object)

Gets a value indicating whether the current transformation computation wrapper and the provided instance should be treated as equal

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The other instance

Returns
Type Description
bool

True, if the current object represents the same value as the given parameter, otherwise false

Overrides
ValueType.Equals(object)
| Edit this page View Source

GetHashCode()

Gets a hash code representation of the current value

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code representation of the value represented by the current instance

Overrides
ValueType.GetHashCode()

Operators

| Edit this page View Source

operator ==(TransformationComputationWrapper<TIn, TOut>, TransformationComputationWrapper<TIn, TOut>)

Gets a value indicating whether the two instances of the transformationwrapper should be as equal

Declaration
public static bool operator ==(TransformationComputationWrapper<TIn, TOut> left, TransformationComputationWrapper<TIn, TOut> right)
Parameters
Type Name Description
TransformationComputationWrapper<TIn, TOut> left

The first computation wrapper

TransformationComputationWrapper<TIn, TOut> right

The second computation wrapper

Returns
Type Description
bool

True, if both wrappers represent the same computation, otherwise false

| Edit this page View Source

operator !=(TransformationComputationWrapper<TIn, TOut>, TransformationComputationWrapper<TIn, TOut>)

Gets a value indicating whether the two instances of the transformationwrapper should be as not equal

Declaration
public static bool operator !=(TransformationComputationWrapper<TIn, TOut> left, TransformationComputationWrapper<TIn, TOut> right)
Parameters
Type Name Description
TransformationComputationWrapper<TIn, TOut> left

The first computation wrapper

TransformationComputationWrapper<TIn, TOut> right

The second computation wrapper

Returns
Type Description
bool

False, if both wrappers represent the same computation, otherwise true

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX