Class AttachmentParameterItemViewModel
View model representing an option for a parameter.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class AttachmentParameterItemViewModel
Remarks
Initializes a new instance of the AttachmentParameterItemViewModel class.
Constructors
View SourceAttachmentParameterItemViewModel(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 SourceDisplayName
Gets a value indicating the DisplayName for the item.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
string |
IsInvalid
Gets or sets a value indicating whether the item is invalid.
Declaration
public bool IsInvalid { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets or sets the name for the item.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceEquals(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
View SourceGetHashCode()
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. |