Skip to content
Concord

Class ComposeResult

Namespace
Concord.Emit
Assembly
Concord.Emit.dll

Contains the wrapper and original-body callable produced by WrapperComposer.

public sealed record ComposeResult : IEquatable<ComposeResult>
Inheritance
ComposeResult
Implements
Inherited Members

Constructors

ComposeResult(MethodInfo, MethodInfo)

Contains the wrapper and original-body callable produced by WrapperComposer.

public ComposeResult(MethodInfo Wrapper, MethodInfo OriginalBody)

Parameters

Wrapper MethodInfo

The composed wrapper method that should be applied as the detour replacement.

OriginalBody MethodInfo

A copy of the original target body that bypasses Concord patches.

Properties

OriginalBody

A copy of the original target body that bypasses Concord patches.

public MethodInfo OriginalBody { get; init; }

Property Value

MethodInfo

Wrapper

The composed wrapper method that should be applied as the detour replacement.

public MethodInfo Wrapper { get; init; }

Property Value

MethodInfo