Interface IBugFiler<TBug, TCrash>
Inherited Members
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 SourceCreateBugAsync(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. |
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. |