Search Results for

    Show / Hide Table of Contents

    Class ContactCategoryViewModel

    Inheritance
    System.Object
    ContactCategoryViewModel
    Implements
    System.Collections.Generic.IEqualityComparer<ContactCategoryViewModel>
    System.IEquatable<ContactCategoryViewModel>
    Namespace: Simplic.PlugIn.SAC.Contact
    Assembly: Simplic.PlugIn.SAC.dll
    Syntax
    public class ContactCategoryViewModel : ViewModelBase, IEqualityComparer<ContactCategoryViewModel>, IEquatable<ContactCategoryViewModel>

    Constructors

    | Improve this Doc View Source

    ContactCategoryViewModel()

    Initializes a ViewModel with a new ContactState

    Declaration
    public ContactCategoryViewModel()
    | Improve this Doc View Source

    ContactCategoryViewModel(ContactCategory)

    Initializes a ViewModel with the passed ContactCategory

    Declaration
    public ContactCategoryViewModel(ContactCategory currentObject)
    Parameters
    Type Name Description
    ContactCategory currentObject

    Properties

    | Improve this Doc View Source

    CurrentObject

    Gets or sets the CurrentObject of this ViewModel as ContactCategory

    Declaration
    public ContactCategory CurrentObject { get; set; }
    Property Value
    Type Description
    ContactCategory
    | Improve this Doc View Source

    IsSelectable

    Gets or sets the isSelectable flag of the CurrentObject

    Declaration
    public bool IsSelectable { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Name

    Gets or sets the name of the CurrentObject

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

    Methods

    | Improve this Doc View Source

    Equals(ContactCategoryViewModel)

    Compare with other

    Declaration
    public bool Equals(ContactCategoryViewModel other)
    Parameters
    Type Name Description
    ContactCategoryViewModel other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(ContactCategoryViewModel, ContactCategoryViewModel)

    Compare two viewmodels

    Declaration
    public bool Equals(ContactCategoryViewModel x, ContactCategoryViewModel y)
    Parameters
    Type Name Description
    ContactCategoryViewModel x
    ContactCategoryViewModel y
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Equals based on CurrentObject.Id

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

    Get hashcode as int from CurrentObject.Id

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetHashCode(ContactCategoryViewModel)

    Get the hashcode of the object

    Declaration
    public int GetHashCode(ContactCategoryViewModel obj)
    Parameters
    Type Name Description
    ContactCategoryViewModel obj
    Returns
    Type Description
    System.Int32

    Implements

    System.Collections.Generic.IEqualityComparer<T>
    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx