Table of Contents

Struct TypeMapKey

Namespace
Mapperion.Model
Assembly
Mapperion.dll

Identifies a mapping by its source and destination types.

public readonly struct TypeMapKey : IEquatable<TypeMapKey>
Implements
Inherited Members

Remarks

Part of the configuration model, which stays free of System.Linq.Expressions so the same shapes can be produced by the source generator.

Constructors

TypeMapKey(Type, Type)

Initializes a new key for the given type pair.

Properties

DestinationType

Gets the destination type.

SourceType

Gets the source type.

Methods

Equals(TypeMapKey)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

operator ==(TypeMapKey, TypeMapKey)

Determines whether two keys are equal.

operator !=(TypeMapKey, TypeMapKey)

Determines whether two keys are different.