Table of Contents

Class FromAttribute<TProvider>

Namespace
Conjecture.Core
Assembly
Conjecture.Core.dll

Specifies that a property-based test parameter should be generated using TProvider instead of the default type-inferred strategy.

[AttributeUsage(AttributeTargets.Parameter)]
public sealed class FromAttribute<TProvider> : Attribute where TProvider : IStrategyProvider, new()

Type Parameters

TProvider

An IStrategyProvider implementation with a public parameterless constructor.

Inheritance
FromAttribute<TProvider>
Inherited Members

Properties

ProviderType

The provider type used to create the strategy for this parameter.

public Type ProviderType { get; }

Property Value

Type