\r\n

51Degrees Pipeline .NET  4.1Newer Version 4.4

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Core.Data.DataKey Class Reference

Detailed Description

A DataKey is a multi-field key intended for use in caching and similar scenarios.

The key fields are stored in a list within the class. Create a new instance using a DataKeyBuilder.

Public Member Functions

override bool  Equals (object obj)
Check if this instance is equal to another. More...
override int  GetHashCode ()
Get the hash code for this instance. More...

Member Function Documentation

◆ Equals()

override bool FiftyOne.Pipeline.Core.Data.DataKey.Equals ( object   obj )

Check if this instance is equal to another.

Parameters
obj - The other object to check for equality.
Returns
True if obj is a DataKey that contains the same key fields, in the same order and with the same values as this instance. False otherwise.

◆ GetHashCode()

override int FiftyOne.Pipeline.Core.Data.DataKey.GetHashCode ( )

Get the hash code for this instance.

Returns