Class ApplicationConfig
Implements
Inherited Members
Namespace: CrashCABN.PullIngestion
Assembly: CrashCABN.PullIngestion.Abstractions.dll
Syntax
public sealed record ApplicationConfig : IEquatable<ApplicationConfig>
Constructors
View SourceApplicationConfig(string, IImmutableList<string>, IImmutableList<string>?, string?, PullIngestionQuerySettings?)
Declaration
public ApplicationConfig(string appName, IImmutableList<string> versions, IImmutableList<string>? deviceTypes = null, string? buildType = null, PullIngestionQuerySettings? settings = null)
Parameters
Type | Name | Description |
---|---|---|
string | appName | |
IImmutableList<string> | versions | |
IImmutableList<string> | deviceTypes | |
string | buildType | |
PullIngestionQuerySettings | settings |
Properties
View SourceAppName
Gets the application name.
Declaration
public string AppName { get; }
Property Value
Type | Description |
---|---|
string |
BuildType
Gets the build type, such as a public release, flighted beta, or internal alpha.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string? BuildType { get; }
Property Value
Type | Description |
---|---|
string |
DeviceTypes
Gets the device platform or console type names.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public IImmutableList<string>? DeviceTypes { get; }
Property Value
Type | Description |
---|---|
IImmutableList<string> |
Settings
Gets the app-specific query settings.
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public PullIngestionQuerySettings? Settings { get; }
Property Value
Type | Description |
---|---|
PullIngestionQuerySettings |
Versions
Gets the build versions.
Declaration
public IImmutableList<string> Versions { get; }
Property Value
Type | Description |
---|---|
IImmutableList<string> |
Methods
View SourceEquals(ApplicationConfig?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ApplicationConfig? other)
Parameters
Type | Name | Description |
---|---|---|
ApplicationConfig | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |