Show / Hide Table of Contents

Interface ITitleMappingDal

Title mapping data access layer.

Namespace: CrashCABN.Gateway
Assembly: CrashCABN.TitleMapping.Abstractions.dll
Syntax
public interface ITitleMappingDal

Methods

View Source

GetTitleMappingAsync(string?, string?, string?)

Gets the title mappings that match the provided crash details.

Declaration
Task<IImmutableList<TitleMapping>?> GetTitleMappingAsync(string? packageName = null, string? processName = null, string? imageName = null)
Parameters
Type Name Description
string packageName

The package name to match.

string processName

The process name to match.

string imageName

The image name to match.

Returns
Type Description
Task<IImmutableList<TitleMapping>>

An immutable list of matching title mappings.

View Source

GetTitleNameAsync(string)

Gets the title names that match the provided crash details.

Declaration
Task<IEnumerable<string>?> GetTitleNameAsync(string appName)
Parameters
Type Name Description
string appName

The package or process name to match.

Returns
Type Description
Task<IEnumerable<string>>

An enumeration of matching title names.

View Source

List<T>()

Gets the enumeration of title mappings.

Declaration
Task<IEnumerable<T>> List<T>()
Returns
Type Description
Task<IEnumerable<T>>

An enumeration of title mappings.

Type Parameters
Name Description
T

The title mapping type.

View Source

Set<T>(IEnumerable<T>)

Sets the enumeration of title mappings.

Declaration
Task Set<T>(IEnumerable<T> mappings)
Parameters
Type Name Description
IEnumerable<T> mappings

An enumeration of title mappings.

Returns
Type Description
Task

A task.

Type Parameters
Name Description
T

The title mapping type.

  • View Source
In this article
Back to top Generated by DocFX