Class MetadataItem
Represents a piece of metadata which was extracted for work item filing.
Assembly: CrashCABN.Metadata.Abstractions.dll
public sealed record MetadataItem : IEquatable<MetadataItem>
Constructors
View Source
Declaration
public MetadataItem(string value, AppliesToEnum appliesTo)
Parameters
View Source
Declaration
[JsonConstructor]
public MetadataItem(string? both = null, string? bugs = null, string? crashes = null)
Parameters
Properties
View Source
Declaration
[JsonIgnore]
public string AppliesTo { get; }
Property Value
View Source
Declaration
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Both { get; }
Property Value
View Source
Declaration
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Bugs { get; }
Property Value
View Source
Declaration
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Crashes { get; }
Property Value
Methods
View Source
Declaration
public MetadataItem Combine(MetadataItem other)
Parameters
Returns
View Source
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides
View Source
Declaration
public string? Value(AppliesToEnum appliesTo)
Parameters
Returns
Implements