Class ExtendedBugFilerBase<TThis, TItem>
Inheritance
ExtendedBugFilerBase<TThis, TItem>
Assembly: CrashCABN.BugFiler.Base.dll
Syntax
public abstract record ExtendedBugFilerBase<TThis, TItem> : BugFilerBase<TThis, TItem>, IBugFiler<TItem, TItem>, IEquatable<BugFilerBase<TThis, TItem>>, IBugFilerExtended, IBugFiler, IBugSearch, IEquatable<ExtendedBugFilerBase<TThis, TItem>> where TItem : class
Type Parameters
Name |
Description |
TThis |
|
TItem |
|
Constructors
View Source
ExtendedBugFilerBase(BugRepositoryDetails, ILogger<TThis>)
Declaration
protected ExtendedBugFilerBase(BugRepositoryDetails BugRepository, ILogger<TThis> Logger)
Parameters
Properties
View Source
DescriptionField
Declaration
protected virtual string DescriptionField { get; }
Property Value
Methods
View Source
GetApportionedHitsAsync(int)
Gets the apportioned hit count that was reported in the crash instance.
Declaration
public Task<int?> GetApportionedHitsAsync(int crashId)
Parameters
Type |
Name |
Description |
int |
crashId |
The crash instance ID.
|
Returns
Type |
Description |
Task<int?> |
The hit count, if it could be found.
|
View Source
GetFieldValue(TItem, string)
Declaration
protected abstract string? GetFieldValue(TItem crash, string field)
Parameters
Type |
Name |
Description |
TItem |
crash |
|
string |
field |
|
Returns
View Source
Gets the fields for a bug or crash.
Declaration
public abstract ValueTask<IEnumerable<BugFilerField>> GetFields(AppliesToEnum crashOrBug)
Parameters
Returns
View Source
Declaration
protected static string? GetLinkComment(string? appName, string? appVersion)
Parameters
Returns
View Source
TrimToMaxLength(string, int)
Declaration
protected static string TrimToMaxLength(string value, int maxLength)
Parameters
Type |
Name |
Description |
string |
value |
|
int |
maxLength |
|
Returns
Implements