Docs · API reference · Motus.Recorder.CodeEmit

EmitResult Class#

The output of a CodeEmitter call: the generated C# source plus metadata about each locator call in the source (for manifest emission).

public sealed record EmitResult : System.IEquatable<Motus.Recorder.CodeEmit.EmitResult>

Inheritance System.Object → EmitResult

Implements System.IEquatable<EmitResult>

Constructors#

EmitResult(string, IReadOnlyList<EmittedLocator>) Constructor#

The output of a CodeEmitter call: the generated C# source plus metadata about each locator call in the source (for manifest emission).

public EmitResult(string Source, System.Collections.Generic.IReadOnlyList<Motus.Recorder.CodeEmit.EmittedLocator> Locators);

Parameters#

Source System.String

Locators System.Collections.Generic.IReadOnlyList<EmittedLocator>