Table of Contents

Class ParameterNotFoundException

Namespace
Bunit.TestDoubles
Assembly
Bunit.Web.dll

Represents an exception which is thrown when the Get<TValue>(Expression<Func<TComponent, TValue>>) is used to get a parameter that was not passed to the doubled component.

public sealed class ParameterNotFoundException : Exception, ISerializable
Inheritance
ParameterNotFoundException
Implements
Inherited Members
Extension Methods

Constructors

ParameterNotFoundException(string, string)

Initializes a new instance of the ParameterNotFoundException class.

public ParameterNotFoundException(string parameterName, string componentName)

Parameters

parameterName string
componentName string
.NET Foundation

Supported by the .NET Foundation.