ProtoTest API Reference ProtoTest API Reference

Enum ProtoClientOwnership

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

Who disposes a client registered for a test.

public enum ProtoClientOwnership
Extension Methods
SheetModelAssertions.ShouldMatchShape<TRow>(TRow, object, bool, JsonSerializerOptions?)
SheetModelAssertions.ShouldMatchShape<TRow>(TRow, object, JsonSerializerOptions?)

Fields

Caller = 1

The client is shared; its lifetime is managed elsewhere.

Context = 0

The execution context releases the client when the test completes.

Edit this page
ProtoTest is open source under the MIT license.