Show / Hide Table of Contents

Interface IBugFiler<TBug, TCrash>

Inherited Members
IBugFiler.CreateCrashInstanceAsync(object, IImmutableDictionary<string, MetadataItem>, IAttachmentContainer, string, string)
IBugFiler.DeleteCrashAsync(int)
IBugSearch.FindMatchingBugAsync(string, string, IImmutableDictionary<string, MetadataItem>, KeyValuePair<string, IImmutableList<string>>)
IBugSearch.FindMatchingBugAsync(string, string, string, CancellationToken)
IBugSearch.FindMatchingCrashAsync(string, CancellationToken)
IBugSearch.FindMatchingCrashesAsync(string, CancellationToken)
Namespace: CrashCABN.BugFiler
Assembly: CrashCABN.BugFiler.Abstractions.dll
Syntax
public interface IBugFiler<TBug, TCrash> : IBugFiler, IBugSearch where TBug : class
Type Parameters
Name Description
TBug
TCrash

Methods

View Source

CreateBugAsync(IImmutableDictionary<string, MetadataItem>, IEnumerable<int>)

Create a BugItemType instance in the configured bug repository with the provided metadata.

Declaration
Task<(TBug Bug, int Id)> CreateBugAsync(IImmutableDictionary<string, MetadataItem> metadata, IEnumerable<int> duplicateBugIds)
Parameters
Type Name Description
IImmutableDictionary<string, MetadataItem> metadata

Metadata collection to use for field data.

IEnumerable<int> duplicateBugIds

An enumeration of existing, duplicate bug instance IDs.

Returns
Type Description
Task<(TBug Bug, int Id)>

The bug instance created and its ID.

View Source

CreateCrashInstanceAsync(TBug, IImmutableDictionary<string, MetadataItem>, IAttachmentContainer?, string, string)

Create a CrashInstanceItemType instance in the configured bug repository with the provided metadata.

Declaration
Task<(TCrash Crash, int Id)> CreateCrashInstanceAsync(TBug parentBug, IImmutableDictionary<string, MetadataItem> metadata, IAttachmentContainer? attachments, string appName, string appVersion)
Parameters
Type Name Description
TBug parentBug

The bug instance to link.

IImmutableDictionary<string, MetadataItem> metadata

Metadata collection to use for field data.

IAttachmentContainer attachments

Attachments to include.

string appName

The name of the app associated with the crash.

string appVersion

The version of the app associated with the crash.

Returns
Type Description
Task<(TCrash Crash, int Id)>

The crash instance created and its ID.

  • View Source
In this article
Back to top Generated by DocFX