Show / Hide Table of Contents

Class BugFilerBase<TBug, TCrash>

Inheritance
System.Object
BugFilerBase<TBug, TCrash>
ADOBugFiler
Implements
IBugFiler<TBug, TCrash>
IBugFiler
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.BugFiler
Assembly: CrashCABN.BugFiler.Base.dll
Syntax
public abstract class BugFilerBase<TBug, TCrash> : IBugFiler<TBug, TCrash>, IBugFiler where TBug : class where TCrash : class
Type Parameters
Name Description
TBug
TCrash

Constructors

View Source

BugFilerBase(BugRepositoryDetails, ILogger<IBugFiler>)

Declaration
protected BugFilerBase(BugRepositoryDetails bugRepository, ILogger<IBugFiler> logger)
Parameters
Type Name Description
BugRepositoryDetails bugRepository
ILogger<IBugFiler> logger

Properties

View Source

BugRepository

Declaration
protected BugRepositoryDetails BugRepository { get; }
Property Value
Type Description
BugRepositoryDetails
View Source

Logger

Declaration
protected ILogger<IBugFiler> Logger { get; }
Property Value
Type Description
ILogger<IBugFiler>

Methods

View Source

CreateBugAsync(IImmutableDictionary<String, MetadataItem>)

Declaration
public abstract Task<(TBug Bug, int Id)> CreateBugAsync(IImmutableDictionary<string, MetadataItem> metadata)
Parameters
Type Name Description
System.Collections.Immutable.IImmutableDictionary<System.String, MetadataItem> metadata
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<TBug, System.Int32>>
View Source

CreateCrashInstanceAsync(IImmutableDictionary<String, MetadataItem>, Nullable<IAttachmentContainer>)

Declaration
public abstract Task<(TCrash Crash, int Id)> CreateCrashInstanceAsync(IImmutableDictionary<string, MetadataItem> metadata, IAttachmentContainer? attachments)
Parameters
Type Name Description
System.Collections.Immutable.IImmutableDictionary<System.String, MetadataItem> metadata
System.Nullable<IAttachmentContainer> attachments
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<TCrash, System.Int32>>
View Source

FindMatchingBugAsync(IImmutableDictionary<String, MetadataItem>)

Declaration
public abstract Task<(object Bug, int Id, bool HasMatchingCrash)?> FindMatchingBugAsync(IImmutableDictionary<string, MetadataItem> metadata)
Parameters
Type Name Description
System.Collections.Immutable.IImmutableDictionary<System.String, MetadataItem> metadata
Returns
Type Description
System.Threading.Tasks.Task<System.Nullable<System.ValueTuple<System.Object, System.Int32, System.Boolean>>>
View Source

FindMatchingBugAsync(String, String)

Declaration
public abstract Task<(object Bug, int CrashCountForVersion)?> FindMatchingBugAsync(string title, string version)
Parameters
Type Name Description
System.String title
System.String version
Returns
Type Description
System.Threading.Tasks.Task<System.Nullable<System.ValueTuple<System.Object, System.Int32>>>
View Source

LinkCrashToBugAsync(TCrash, TBug, IImmutableDictionary<String, MetadataItem>)

Declaration
public abstract Task LinkCrashToBugAsync(TCrash crashInstance, TBug bugInstance, IImmutableDictionary<string, MetadataItem> metadata)
Parameters
Type Name Description
TCrash crashInstance
TBug bugInstance
System.Collections.Immutable.IImmutableDictionary<System.String, MetadataItem> metadata
Returns
Type Description
System.Threading.Tasks.Task
View Source

LinkCrashToBugAsync(Object, Object, IImmutableDictionary<String, MetadataItem>)

Declaration
public async Task LinkCrashToBugAsync(object crashInstance, object bugInstance, IImmutableDictionary<string, MetadataItem> metadata)
Parameters
Type Name Description
System.Object crashInstance
System.Object bugInstance
System.Collections.Immutable.IImmutableDictionary<System.String, MetadataItem> metadata
Returns
Type Description
System.Threading.Tasks.Task

Implements

IBugFiler<TBug, TCrash>
IBugFiler
  • View Source
In This Article
Back to top Generated by DocFX