FailedSpecification.

FailedSpecification(Type, object, string[]) Constructor

Summary

Create standard FailedSpecification object.

Syntax

[PublicAPI]
public FailedSpecification(Type specificationType, object candidate, params string[] errors)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
specificationType Type Type of failed Specification.
candidate object Used candidate.
errors string[] Errors generated by Specification.

Return Value

Type Description
void
GitHub