Show / Hide Table of Contents

Class BugFilerFactory<TThis>

Inheritance
object
BugFilerFactory<TThis>
ADOBugFilerFactory
JiraBugFilerFactory
Implements
IBugFilerFactory
IEquatable<BugFilerFactory<TThis>>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CrashCABN.BugFiler
Assembly: CrashCABN.BugFiler.Base.dll
Syntax
public abstract record BugFilerFactory<TThis> : IBugFilerFactory, IEquatable<BugFilerFactory<TThis>>
Type Parameters
Name Description
TThis

Constructors

View Source

BugFilerFactory(BugRepositoryDetails, IServiceProvider, ILogger<TThis>)

Declaration
protected BugFilerFactory(BugRepositoryDetails Details, IServiceProvider Services, ILogger<TThis> Logger)
Parameters
Type Name Description
BugRepositoryDetails Details
IServiceProvider Services
ILogger<TThis> Logger

Properties

View Source

Details

Declaration
public BugRepositoryDetails Details { get; init; }
Property Value
Type Description
BugRepositoryDetails
View Source

Logger

Declaration
public ILogger<TThis> Logger { get; init; }
Property Value
Type Description
ILogger<TThis>
View Source

Services

Declaration
public IServiceProvider Services { get; init; }
Property Value
Type Description
IServiceProvider

Methods

View Source

CreateAsync(string, CancellationToken)

Declaration
public abstract Task<IBugFiler> CreateAsync(string titleName, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string titleName
CancellationToken cancellationToken
Returns
Type Description
Task<IBugFiler>
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
Type Name Description
BugRepositoryDetails bugRepository

The BugRepositoryDetails to use.

object[] parameters

The array of other parameters the BugFiler needs as part of it's constructor.

Returns
Type Description
T

A BugFiler of type T.

Type Parameters
Name Description
T

The type of BugFiler to create

Implements

IBugFilerFactory
IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX