Class ExampleAttribute
- Namespace
- Conjecture.Core
- Assembly
- Conjecture.Core.dll
Provides an explicit example to run before generated examples in a property test.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class ExampleAttribute : Attribute
- Inheritance
-
ExampleAttribute
- Inherited Members
Constructors
ExampleAttribute(params object?[])
Provides an explicit example to run before generated examples in a property test.
public ExampleAttribute(params object?[] arguments)
Parameters
argumentsobject[]
Properties
Arguments
The argument values to pass to the test method.
public object?[] Arguments { get; }
Property Value
- object[]