Class JSInvokeCountExpectedException
- Namespace
- Bunit
- Assembly
- Bunit.Web.dll
Represents a number of unexpected invocation to a BunitJSInterop.
public sealed class JSInvokeCountExpectedException : Exception, ISerializable
- Inheritance
-
JSInvokeCountExpectedException
- Implements
- Inherited Members
- Extension Methods
Constructors
JSInvokeCountExpectedException(string, int, int, string, string?)
Initializes a new instance of the JSInvokeCountExpectedException class.
public JSInvokeCountExpectedException(string identifier, int expectedCount, int actualCount, string assertMethod, string? userMessage = null)
Parameters
Properties
ActualInvocationCount
Gets the actual invocation count.
public int ActualInvocationCount { get; }
Property Value
ExpectedInvocationCount
Gets the expected invocation count.
public int ExpectedInvocationCount { get; }
Property Value
Identifier
Gets the identifier.
public string Identifier { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext