Class TitleConfiguration
This defines the required structure for CrashCABN title configuration.
Inheritance
TitleConfiguration
Assembly: CrashCABN.TitleConfiguration.Abstractions.dll
Syntax
public sealed record TitleConfiguration : IEquatable<TitleConfiguration>
Constructors
View Source
Declaration
public TitleConfiguration(TitleInfo title, BugRepositoryDetails? bugRepository = null, IImmutableList<AdditionalFileInfo>? additionalFiles = null, IImmutableList<MetadataDefinition>? metadata = null, PullIngestionConfig? pullIngest = null, Uri? schema = null, ForwardingConfig? forwarding = null)
Parameters
Properties
View Source
AdditionalFiles
Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IImmutableList<AdditionalFileInfo> AdditionalFiles { get; }
Property Value
View Source
BugRepository
Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public BugRepositoryDetails? BugRepository { get; }
Property Value
View Source
Forwarding
Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public ForwardingConfig? Forwarding { get; }
Property Value
View Source
Declaration
[JsonProperty(Required = Required.DisallowNull)]
public IImmutableList<MetadataDefinition> Metadata { get; }
Property Value
View Source
PullIngest
Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public PullIngestionConfig? PullIngest { get; }
Property Value
View Source
Schema
Declaration
[JsonProperty(PropertyName = "$schema", NullValueHandling = NullValueHandling.Ignore)]
public Uri? Schema { get; init; }
Property Value
View Source
Title
Declaration
[JsonProperty(Required = Required.Always)]
[Required]
public TitleInfo Title { get; }
Property Value
Methods
View Source
Equals(TitleConfiguration?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(TitleConfiguration? other)
Parameters
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
View Source
ShouldSerializeAdditionalFiles()
Declaration
public bool ShouldSerializeAdditionalFiles()
Returns
Implements