Class ContextInfo
A PAPI context (language or publication), as listed by GetContexts(CancellationToken).
Implements
Inherited Members
Namespace: Activout.Blue5
Assembly: Activout.Blue5.dll
Syntax
public sealed record ContextInfo : IEquatable<ContextInfo>
Constructors
| Edit this page View SourceContextInfo(string, string?)
A PAPI context (language or publication), as listed by GetContexts(CancellationToken).
Declaration
public ContextInfo(string Id, string? Name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Id | Value to pass to WithContext(string) or Context, e.g. |
| string | Name | Display name, e.g. |
Properties
| Edit this page View SourceId
Value to pass to WithContext(string) or Context, e.g. en or l3598.
Declaration
public string Id { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Display name, e.g. Swedish.
Declaration
public string? Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |