Show / Hide Table of Contents

Class TitleConfiguration

This defines the required structure for CrashCABN title configuration.

Inheritance
object
TitleConfiguration
Implements
IEquatable<TitleConfiguration>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CrashCABN.TitleConfiguration
Assembly: CrashCABN.TitleConfiguration.Abstractions.dll
Syntax
public sealed record TitleConfiguration : IEquatable<TitleConfiguration>

Constructors

View Source

TitleConfiguration(TitleInfo, BugRepositoryDetails?, IImmutableList<AdditionalFileInfo>?, IImmutableList<MetadataDefinition>?, PullIngestionConfig?, Uri?, ForwardingConfig?)

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
Type Name Description
TitleInfo title
BugRepositoryDetails bugRepository
IImmutableList<AdditionalFileInfo> additionalFiles
IImmutableList<MetadataDefinition> metadata
PullIngestionConfig pullIngest
Uri schema
ForwardingConfig forwarding

Properties

View Source

AdditionalFiles

Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IImmutableList<AdditionalFileInfo> AdditionalFiles { get; }
Property Value
Type Description
IImmutableList<AdditionalFileInfo>
View Source

BugRepository

Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public BugRepositoryDetails? BugRepository { get; }
Property Value
Type Description
BugRepositoryDetails
View Source

Forwarding

Declaration
[JsonProperty(Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public ForwardingConfig? Forwarding { get; }
Property Value
Type Description
ForwardingConfig
View Source

Metadata

Declaration
[JsonProperty(Required = Required.DisallowNull)]
public IImmutableList<MetadataDefinition> Metadata { get; }
Property Value
Type Description
IImmutableList<MetadataDefinition>
View Source

PullIngest

Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public PullIngestionConfig? PullIngest { get; }
Property Value
Type Description
PullIngestionConfig
View Source

Schema

Gets the schema URL.

Declaration
[JsonProperty(PropertyName = "$schema", NullValueHandling = NullValueHandling.Ignore)]
public Uri? Schema { get; init; }
Property Value
Type Description
Uri
View Source

Title

Declaration
[JsonProperty(Required = Required.Always)]
[Required]
public TitleInfo Title { get; }
Property Value
Type Description
TitleInfo

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
Type Name Description
TitleConfiguration other

An object to compare with this object.

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
object.GetHashCode()
View Source

ShouldSerializeAdditionalFiles()

Declaration
public bool ShouldSerializeAdditionalFiles()
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX