Table of Contents

Class StrategyRegexAttribute

Namespace
Conjecture.Core
Assembly
Conjecture.Core.dll

Constrains generated strings to match pattern.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class StrategyRegexAttribute : Attribute
Inheritance
StrategyRegexAttribute
Inherited Members

Constructors

StrategyRegexAttribute(string)

Constrains generated strings to match pattern.

public StrategyRegexAttribute(string pattern)

Parameters

pattern string

Properties

Pattern

Gets the regex pattern generated strings must match.

public string Pattern { get; }

Property Value

string