Class BugFilerFactory<TThis>
Inheritance
BugFilerFactory<TThis>
Assembly: CrashCABN.BugFiler.Base.dll
Syntax
public abstract record BugFilerFactory<TThis> : IBugFilerFactory, IEquatable<BugFilerFactory<TThis>>
Type Parameters
Constructors
View Source
BugFilerFactory(BugRepositoryDetails, IServiceProvider, ILogger<TThis>)
Declaration
protected BugFilerFactory(BugRepositoryDetails Details, IServiceProvider Services, ILogger<TThis> Logger)
Parameters
Properties
View Source
Details
Declaration
public BugRepositoryDetails Details { get; init; }
Property Value
View Source
Logger
Declaration
public ILogger<TThis> Logger { get; init; }
Property Value
View Source
Services
Declaration
public IServiceProvider Services { get; init; }
Property Value
Methods
View Source
CreateAsync(string, CancellationToken)
Declaration
public abstract Task<IBugFiler> CreateAsync(string titleName, CancellationToken cancellationToken = default)
Parameters
Returns
View Source
CreateWithLogging<T>(BugRepositoryDetails, params object[])
Creates a BugFiler of the specified type with log messages.
Declaration
protected T CreateWithLogging<T>(BugRepositoryDetails bugRepository, params object[] parameters) where T : IBugFiler
Parameters
Returns
Type |
Description |
T |
A BugFiler of type T.
|
Type Parameters
Name |
Description |
T |
The type of BugFiler to create
|
Implements