Interface IBugFiler
Inherited Members
Namespace: CrashCABN.BugFiler
Assembly: CrashCABN.BugFiler.Abstractions.dll
Syntax
public interface IBugFiler : IBugSearch
Methods
View SourceCreateBugAsync(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. |
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. |
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. |