Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Stunts.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The design of the behavior pipeline involves a full stack-preserving chain of re

Unlike Castle DynamicProxy interception API, the `IMethodInvocation` is immutable, which simplifies state management and eliminates possible concurrency issues. Any behavior can nevertheless modify the `invocation` passed to the next behavior delegate by just creating a new `MethodInvocation` with different values. To short-circuit the call, we can simply return from our behavior by calling either `CreateExceptionReturn` or `CreateValueReturn` on the received invocation.

All of the supported .NET calling conventions should be supported by *Stunts*, as shown in (Stunts-Example.md).
All of the supported .NET calling conventions should be supported by *Stunts*, as shown in [Stunts Full Example](Stunts-Example.md).

## Common Behaviors

Expand Down Expand Up @@ -198,4 +198,4 @@ Of course, your factory method can receive arbitrary parameters to configure tho

This approach involves inheriting from various classes in the SDK, creating custom analyzers and code actions, etc. The best way to learn about this is to explore the [Moq.Analyzer](../src/Moq/Moq.Analyzer) project.

// TODO: add documentation.
// TODO: add documentation.