Class ProtoAttachmentFailure

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

Names the failure event one integration writes when an attachment cannot be added.

public sealed record ProtoAttachmentFailure : IEquatable<ProtoAttachmentFailure>
Inheritance
ProtoAttachmentFailure
Implements
Inherited Members
Extension Methods

Constructors

ProtoAttachmentFailure(string, string, string)

Names the failure event one integration writes when an attachment cannot be added.

public ProtoAttachmentFailure(string Kind, string Source, string Label)

Parameters

Kind string
Source string
Label string

Properties

Kind

public string Kind { get; init; }

Property Value

string

Label

public string Label { get; init; }

Property Value

string

Source

public string Source { get; init; }

Property Value

string

Methods

Describe(string)

The event name for one attachment, so every protocol's failures read the same way.

public string Describe(string attachmentName)

Parameters

attachmentName string

Returns

string