Show / Hide Table of Contents

Class TemplateDefinition

Represents a design-time template for a bug.

Inheritance
object
TemplateDefinition
Implements
IEquatable<TemplateDefinition>
IRenameableData
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 TemplateDefinition : IEquatable<TemplateDefinition>, IRenameableData

Constructors

View Source

TemplateDefinition()

Initializes a new instance of the TemplateDefinition class.

Declaration
public TemplateDefinition()
View Source

TemplateDefinition(TemplateDefinition)

Initializes a new instance of the TemplateDefinition class. Almost a copy constructor, except for the name that needs to be explicitly specified.

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

The template definition to copy.

Properties

View Source

Attachments

Gets the list of attachments.

Declaration
public List<TemplateAttachmentDefinition> Attachments { get; }
Property Value
Type Description
List<TemplateAttachmentDefinition>
View Source

Fields

Gets the template field definition fields.

Declaration
public List<TemplateFieldDefinition> Fields { get; }
Property Value
Type Description
List<TemplateFieldDefinition>
View Source

Id

Gets or sets the unique id associated with this template.

Declaration
public Guid Id { get; set; }
Property Value
Type Description
Guid
View Source

Name

Gets or sets a name for this template.

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

ParentId

Gets or sets a parent template id.

Declaration
public Guid ParentId { get; set; }
Property Value
Type Description
Guid
View Source

SavedDupeCheckQuery

Gets or sets the saved duplicate checking query for this template.

Declaration
public DuplicateCheckQueryDefinition SavedDupeCheckQuery { get; set; }
Property Value
Type Description
DuplicateCheckQueryDefinition
View Source

Tags

Gets a list of tags to set on a bug.

Declaration
public List<string> Tags { get; }
Property Value
Type Description
List<string>

Methods

View Source

Equals(TemplateDefinition)

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

Declaration
public bool Equals(TemplateDefinition other)
Parameters
Type Name Description
TemplateDefinition 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>
IRenameableData
  • View Source
In this article
Back to top Generated by DocFX