Show / Hide Table of Contents

Class AttachmentDefinition

Design-time representation of an attachment.

Inheritance
object
AttachmentDefinition
Implements
IEquatable<AttachmentDefinition>
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 AttachmentDefinition : IEquatable<AttachmentDefinition>

Constructors

View Source

AttachmentDefinition()

Initializes a new instance of the AttachmentDefinition class.

Declaration
public AttachmentDefinition()
View Source

AttachmentDefinition(AttachmentDefinition)

Initializes a new instance of the AttachmentDefinition class.

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

The instance to copy.

Properties

View Source

DefaultName

Gets or sets the default name of the attachment.

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

DefaultType

Gets or sets the Name of the attachment.

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

Parameters

Gets the collection of AttachmentParameterDefinition specific to IAttachmentType.

Declaration
public List<AttachmentParameterDefinition> Parameters { get; }
Property Value
Type Description
List<AttachmentParameterDefinition>
View Source

PostCaptureCommands

Gets the list of AttachmentCommandDefinitions to perform after capture.

Declaration
public List<AttachmentCommandDefinition> PostCaptureCommands { get; }
Property Value
Type Description
List<AttachmentCommandDefinition>
View Source

PreCaptureCommands

Gets the list of AttachmentCommandDefinitions to perform before capture.

Declaration
public List<AttachmentCommandDefinition> PreCaptureCommands { get; }
Property Value
Type Description
List<AttachmentCommandDefinition>

Methods

View Source

Equals(AttachmentDefinition)

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

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