Show / Hide Table of Contents

    Class ResponseMessageHeader

    Represents a description of an HTTP header that is sent with the response.

    Inheritance
    Object
    Parameter
    ResponseMessageHeader
    Implements
    IValidator
    IEquatable<Parameter>
    IExtensibleDataObject
    Inherited Members
    Parameter.Equals(Object)
    Parameter.DataType
    Parameter.ArrayFormat
    Parameter.ArrayItem
    Parameter.DataFormat
    Parameter.Schema
    Parameter.IsRequired
    Parameter.IsEmptyValueAllowed
    Parameter.DefaultValue
    Parameter.Values
    Parameter.MaximumValue
    Parameter.IsExclusiveMaximum
    Parameter.MinimumValue
    Parameter.IsExclusiveMinimum
    Parameter.MaximumLength
    Parameter.MinimumLength
    Parameter.Pattern
    Parameter.ArrayMaximumItems
    Parameter.ArrayMinimumItems
    Parameter.IsArrayUnique
    Parameter.MultipleOf
    Parameter.ErrorMessage
    Parameter.ExtensionData
    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 ResponseMessageHeader : Parameter, IValidator, IEquatable<Parameter>, IExtensibleDataObject

    Constructors

    ResponseMessageHeader()

    Initializes an empty instance.

    Declaration
    public ResponseMessageHeader()

    ResponseMessageHeader(ResponseMessageHeader)

    Initializes new instance by copying properties from the provided message header.

    Declaration
    public ResponseMessageHeader(ResponseMessageHeader header)
    Parameters
    Type Name Description
    ResponseMessageHeader header

    Header to copy properties from.

    Properties

    Description

    Gets or sets the short description of the header.

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

    Name

    Gets or sets the name of HTTP header.

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

    Methods

    CopyFrom(Parameter)

    Populates this instance from the provided parameter.

    Declaration
    public override void CopyFrom(Parameter parameter)
    Parameters
    Type Name Description
    Parameter parameter

    Parameter to copy properties from.

    Overrides
    Parameter.CopyFrom(Parameter)

    Equals(Parameter)

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

    Declaration
    public override bool Equals(Parameter other)
    Parameters
    Type Name Description
    Parameter other

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

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

    Overrides
    Parameter.Equals(Parameter)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    Parameter.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that represents the current object.

    Overrides
    Parameter.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    Parameter.Validate()

    Implements

    IValidator
    System.IEquatable<T>
    System.Runtime.Serialization.IExtensibleDataObject
    Back to top Nevatech Sentinet 6.5 Online Documentation