Documentation
Table of Contents

Class MappingSample

Namespace
IntentSharp.Mapping
Assembly
IntentSharp.dll

A golden sample: an input and the output a mapping must produce for it. Golden samples are part of the mapping key and of the compile, and every compile and replacement must reproduce them exactly; they are never stored.

public sealed class MappingSample
Inheritance
object
MappingSample
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

MappingSample()

Creates a sample; set Input and Expected.

Properties

Expected

The output the mapping must produce for Input, of the mapping's output type or, for a JSON mapping, a JSON object.

Input

The input, of the mapping's input type or, for a JSON mapping, a JSON object.