Class AkkaEqualException
TBD
Inherited Members
Xunit.Sdk.XunitException.ToString()
Namespace: Akka.TestKit.Xunit.Internals
Assembly: Akka.TestKit.Xunit.dll
Syntax
public class AkkaEqualException : XunitException, ISerializable, IAssertionException
Constructors
| Improve this Doc View SourceAkkaEqualException(SerializationInfo, StreamingContext)
Initializes a new instance of the AkkaEqualException class.
Declaration
protected AkkaEqualException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
AkkaEqualException(String, Object[])
Initializes a new instance of the AkkaEqualException class.
Declaration
public AkkaEqualException(string format = "", params object[] args)
Parameters
Type | Name | Description |
---|---|---|
String | format | A template string that describes the error. |
Object[] | args | An optional object array that contains zero or more objects to format. |
Properties
| Improve this Doc View SourceMessage
The message that describes the error.
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
| Improve this Doc View SourceForMismatchedValues(Object, Object, String, Object[])
Declaration
public static AkkaEqualException ForMismatchedValues(object expected, object actual, string format = null, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
Object | expected | |
Object | actual | |
String | format | |
Object[] | args |
Returns
Type | Description |
---|---|
AkkaEqualException |
Implements
Xunit.Sdk.IAssertionException