Class ResponseMessageHeader
Represents a description of an HTTP header that is sent with the response.
Inherited Members
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 |
---|---|
System.String |
Name
Gets or sets the name of HTTP header.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.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
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 |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |