Interface ITitleMappingDal
Title mapping data access layer.
Namespace: CrashCABN.Gateway
Assembly: CrashCABN.TitleMapping.Abstractions.dll
Syntax
public interface ITitleMappingDal
Methods
View SourceGetTitleMappingAsync(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. |
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. |
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. |
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. |