Show / Hide Table of Contents

Interface IBugFiler

Inherited Members
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 : IBugSearch

Methods

View Source

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

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

Declaration
Task<(object 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<(object Bug, int Id)>

The bug instance created and its ID.

View Source

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

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

Declaration
Task<(object Crash, int Id)> CreateCrashInstanceAsync(object parentBug, IImmutableDictionary<string, MetadataItem> metadata, IAttachmentContainer? attachments, string appName, string appVersion)
Parameters
Type Name Description
object 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<(object Bug, int Id)>

The crash instance created and its ID.

View Source

DeleteCrashAsync(int)

Delete a CrashInstanceItemType instance in the configured bug repository.

Declaration
Task DeleteCrashAsync(int id)
Parameters
Type Name Description
int id

The crash instance ID.

Returns
Type Description
Task

A task representing the asynchronous operation.

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