Class AttachmentCommandDefinition
Specification for an attachment capture command.
Implements
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure
Assembly: Aruba.Infrastructure.dll
Syntax
public class AttachmentCommandDefinition : IEquatable<AttachmentCommandDefinition>
Constructors
View SourceAttachmentCommandDefinition()
Initializes a new instance of the AttachmentCommandDefinition class.
Declaration
public AttachmentCommandDefinition()
AttachmentCommandDefinition(AttachmentCommandDefinition)
Initializes a new instance of the AttachmentCommandDefinition class.
Declaration
public AttachmentCommandDefinition(AttachmentCommandDefinition other)
Parameters
Type | Name | Description |
---|---|---|
AttachmentCommandDefinition | other | The instance to copy. |
AttachmentCommandDefinition(string, string)
Initializes a new instance of the AttachmentCommandDefinition class.
Declaration
public AttachmentCommandDefinition(string name, string parameters)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the command. |
string | parameters | The parameter string to pass to the command. |
Properties
View SourceName
Gets or sets the command name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Parameters
Gets or sets the string representation of the parameter value.
Declaration
public string Parameters { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceEquals(AttachmentCommandDefinition)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(AttachmentCommandDefinition other)
Parameters
Type | Name | Description |
---|---|---|
AttachmentCommandDefinition | 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. |