Mapping

public sealed class Mapping
Represents the mapping from a specific path topology to another.

Constructors

Mapping

#
public Mapping(Map source, Map target)
Create a new mapping.
source (Map)Source map.
target (Map)Target map.

Mapping

#
public Mapping(string description)
Create a new mapping from a descriptive string.
description (string)Mapping description.

Fields

MappingOperatorLong

#
public const string MappingOperatorLong = "->"
Defines the mapping operator that is easily typed by humans.

MappingOperatorShort

#
public const char MappingOperatorShort = '→'
Defines the mapping operator that is used during formatting.

Properties

Source

#
public Map Source { get; }
Gets the source map.

Target

#
public Map Target { get; }
Gets the target map.

Methods

ToString

#
public override string ToString()
Gets the string representation of this mapping.
Object.ToString