Show / Hide Table of Contents

Class TemplateAttachmentDefinition

Specification for an attachment in a bug template.

Inheritance
object
TemplateAttachmentDefinition
Implements
IEquatable<TemplateAttachmentDefinition>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure
Assembly: Aruba.Infrastructure.dll
Syntax
public class TemplateAttachmentDefinition : IEquatable<TemplateAttachmentDefinition>

Constructors

View Source

TemplateAttachmentDefinition()

Initializes a new instance of the TemplateAttachmentDefinition class.

Declaration
public TemplateAttachmentDefinition()
View Source

TemplateAttachmentDefinition(TemplateAttachmentDefinition)

Initializes a new instance of the TemplateAttachmentDefinition class. Copy constructor.

Declaration
public TemplateAttachmentDefinition(TemplateAttachmentDefinition other)
Parameters
Type Name Description
TemplateAttachmentDefinition other

The template attachment definition to copy.

Properties

View Source

DefaultValue

Gets or sets the default value for the attachment.

Declaration
public AttachmentDefinition DefaultValue { get; set; }
Property Value
Type Description
AttachmentDefinition
View Source

ID

Gets or sets attachment's unique identifier.

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

IsDefaultValueOverridden

Gets or sets a value indicating whether the default value is overridden from the corresponding attachment in the parent template.

Declaration
public bool IsDefaultValueOverridden { get; set; }
Property Value
Type Description
bool
View Source

IsUrgencyLevelOverridden

Gets or sets a value indicating whether the UrgencyLevel is overridden from the corresponding attachment in the parent template.

Declaration
public bool IsUrgencyLevelOverridden { get; set; }
Property Value
Type Description
bool
View Source

ShouldAutoCapture

Gets or sets a value indicating whether the corresponding attachment should autocapture or not in this template.

Declaration
public bool ShouldAutoCapture { get; set; }
Property Value
Type Description
bool
View Source

UrgencyLevel

Gets or sets the urgency level specific to a template.

Declaration
public UrgencyLevel UrgencyLevel { get; set; }
Property Value
Type Description
UrgencyLevel

Methods

View Source

CreateNew()

Static method for creating TemplateAttachmentDefinition with default values.

Declaration
public static TemplateAttachmentDefinition CreateNew()
Returns
Type Description
TemplateAttachmentDefinition

Template attachment definition.

View Source

Equals(TemplateAttachmentDefinition)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(TemplateAttachmentDefinition other)
Parameters
Type Name Description
TemplateAttachmentDefinition 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

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)
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()

Implements

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