Show / Hide Table of Contents

Class AttachmentParameterItemViewModel

View model representing an option for a parameter.

Inheritance
object
AttachmentParameterItemViewModel
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class AttachmentParameterItemViewModel
Remarks

Initializes a new instance of the AttachmentParameterItemViewModel class.

Constructors

View Source

AttachmentParameterItemViewModel(string, bool)

View model representing an option for a parameter.

Declaration
public AttachmentParameterItemViewModel(string name, bool isInvalid)
Parameters
Type Name Description
string name

Name for item.

bool isInvalid

If the item is invalid.

Remarks

Initializes a new instance of the AttachmentParameterItemViewModel class.

Properties

View Source

DisplayName

Gets a value indicating the DisplayName for the item.

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

IsInvalid

Gets or sets a value indicating whether the item is invalid.

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

Name

Gets or sets the name for the item.

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

Methods

View Source

Equals(object)

Overrides Equals to provide a simple match against name.

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

Item to compare.

Returns
Type Description
bool

True if comparison matches.

Overrides
object.Equals(object)
View Source

GetHashCode()

Override to provide a hash for the object based on its name.

Declaration
public override int GetHashCode()
Returns
Type Description
int

Hash code based on the name.

Overrides
object.GetHashCode()
  • View Source
In this article
Back to top Generated by DocFX