Mapping

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

Constructors

Mapping

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

Mapping

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

Fields

MappingOperatorLong

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

MappingOperatorShort

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

Properties

Source

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

Target

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

Methods

ToString

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