Class AttachmentDefinition
Design-time representation of an attachment.
Implements
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure
Assembly: Aruba.Infrastructure.dll
Syntax
public class AttachmentDefinition : IEquatable<AttachmentDefinition>
Constructors
View SourceAttachmentDefinition()
Initializes a new instance of the AttachmentDefinition class.
Declaration
public AttachmentDefinition()
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 SourceDefaultName
Gets or sets the default name of the attachment.
Declaration
public string DefaultName { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultType
Gets or sets the Name of the attachment.
Declaration
public string DefaultType { get; set; }
Property Value
Type | Description |
---|---|
string |
Parameters
Gets the collection of AttachmentParameterDefinition specific to IAttachmentType.
Declaration
public List<AttachmentParameterDefinition> Parameters { get; }
Property Value
Type | Description |
---|---|
List<AttachmentParameterDefinition> |
PostCaptureCommands
Gets the list of AttachmentCommandDefinitions to perform after capture.
Declaration
public List<AttachmentCommandDefinition> PostCaptureCommands { get; }
Property Value
Type | Description |
---|---|
List<AttachmentCommandDefinition> |
PreCaptureCommands
Gets the list of AttachmentCommandDefinitions to perform before capture.
Declaration
public List<AttachmentCommandDefinition> PreCaptureCommands { get; }
Property Value
Type | Description |
---|---|
List<AttachmentCommandDefinition> |
Methods
View SourceEquals(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 |
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
View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |