Show / Hide Table of Contents

    Class DataProperty

    Represents a custom name/value property.

    Inheritance
    Object
    DataProperty
    Implements
    IEquatable<DataProperty>
    Inherited Members
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class DataProperty : IEquatable<DataProperty>

    Constructors

    DataProperty()

    Initializes an empty instance.

    Declaration
    public DataProperty()

    DataProperty(String, String)

    Initializes new instance with provided name and value.

    Declaration
    public DataProperty(string name, string value)
    Parameters
    Type Name Description
    String name

    Property name.

    String value

    Property value.

    Properties

    Name

    Gets or sets the property name.

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

    Value

    Gets or sets the property value.

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

    Methods

    Equals(DataProperty)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(DataProperty other)
    Parameters
    Type Name Description
    DataProperty other

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    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
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    Object.Equals(Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    Object.GetHashCode()

    ToString()

    Returns a text presentation of the object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Text presentation of the object.

    Overrides
    Object.ToString()

    Implements

    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation