Table of Contents

Method WithBefore

Namespace
MonoMod.RuntimeDetour
Assembly
MonoMod.RuntimeDetour.dll

WithBefore(IEnumerable<string>)

Creates a new DetourConfig which is identical to this one, but with Before equal to before.
public DetourConfig WithBefore(IEnumerable<string> before)

Parameters

before IEnumerable<string>
The Before list for the new DetourConfig.

Returns

DetourConfig
A DetourConfig identical to this one, but with Before equal to before.

WithBefore(params string[])

Creates a new DetourConfig which is identical to this one, but with Before equal to before.
public DetourConfig WithBefore(params string[] before)

Parameters

before string[]
The Before list for the new DetourConfig.

Returns

DetourConfig
A DetourConfig identical to this one, but with Before equal to before.