Show / Hide Table of Contents

Class AdditionalFileInfo

Represents information about additional files to parse into metadata or attach to work items.

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

Constructors

View Source

AdditionalFileInfo(string, bool, bool, bool, bool, bool)

Initializes a new instance of the AdditionalFileInfo class.

Declaration
public AdditionalFileInfo(string fileName, bool isDevFlagFile = false, bool attachForRetailCrashes = false, bool attachForDevCrashes = true, bool parseForRetailCrashes = false, bool parseForDevCrashes = true)
Parameters
Type Name Description
string fileName

The file name.

bool isDevFlagFile

Whether the file's presence indicates that the crash is from a dev environment.

bool attachForRetailCrashes

Whether the file should be attached to retail crashes. False by default.

bool attachForDevCrashes

Whether the file should be attached to dev crashes. True by default.

bool parseForRetailCrashes

Whether the file should be extracted for use during metadata parsing of retail crashes. False by default, or always true if attachForRetailCrashes is true.

bool parseForDevCrashes

Whether the file should be extracted for use during metadata parsing of dev crashes. True by default.

Properties

View Source

AttachForDevCrashes

Gets a value indicating whether this file should be attached to the work item for dev crashes.

Declaration
[JsonProperty(DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public bool AttachForDevCrashes { get; }
Property Value
Type Description
bool
View Source

AttachForRetailCrashes

Gets a value indicating whether this file should be attached to the work item for retail crashes.

Declaration
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public bool AttachForRetailCrashes { get; }
Property Value
Type Description
bool
View Source

FileName

Gets the name of the file.

Declaration
public string FileName { get; }
Property Value
Type Description
string
View Source

IsDevFlagFile

Gets a value indicating whether this file's presence indicates that the crash is from a dev environment.

Declaration
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public bool IsDevFlagFile { get; }
Property Value
Type Description
bool
View Source

ParseForDevCrashes

Gets a value indicating whether this file should be extracted for use during metadata parsing of dev crashes.

Declaration
[JsonProperty(DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public bool ParseForDevCrashes { get; }
Property Value
Type Description
bool
View Source

ParseForRetailCrashes

Gets a value indicating whether this file should be extracted for use during metadata parsing of retail crashes.

Declaration
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public bool ParseForRetailCrashes { get; }
Property Value
Type Description
bool

Implements

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