Apache Ignite.NET
Apache.Ignite.Core.Cache.CacheResult< T > Struct Template Reference

Represents a cache operation result with a success flag. More...

Inheritance diagram for Apache.Ignite.Core.Cache.CacheResult< T >:

Public Member Functions

 CacheResult (T value)
 Initializes a new instance of the CacheResult<T> struct with a specified value and sets success flag to true. More...
 
bool Equals (CacheResult< T > other)
 Determines whether the specified object, is equal to this instance. More...
 
override bool Equals (object obj)
 Determines whether the specified object, is equal to this instance. More...
 
override int GetHashCode ()
 Returns a hash code for this instance. More...
 

Static Public Member Functions

static bool operator== (CacheResult< T > left, CacheResult< T > right)
 Implements the operator ==. More...
 
static bool operator!= (CacheResult< T > left, CacheResult< T > right)
 Implements the operator !=. More...
 

Properties

Value [get]
 Gets the cache value. More...
 
bool Success [get]
 Gets a value indicating whether the operation completed successfully. More...
 

Detailed Description

Template Parameters
TOperation result value type.

Constructor & Destructor Documentation

Parameters
valueThe value.

Member Function Documentation

bool Apache.Ignite.Core.Cache.CacheResult< T >.Equals ( CacheResult< T >  other)
Parameters
otherThe object to compare with this instance.
Returns
true if the specified object is equal to this instance; otherwise, false.
override bool Apache.Ignite.Core.Cache.CacheResult< T >.Equals ( object  obj)
Parameters
objThe object to compare with this instance.
Returns
true if the specified object is equal to this instance; otherwise, false.
override int Apache.Ignite.Core.Cache.CacheResult< T >.GetHashCode ( )
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
static bool Apache.Ignite.Core.Cache.CacheResult< T >.operator!= ( CacheResult< T >  left,
CacheResult< T >  right 
)
static
Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.
static bool Apache.Ignite.Core.Cache.CacheResult< T >.operator== ( CacheResult< T >  left,
CacheResult< T >  right 
)
static
Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Property Documentation

bool Apache.Ignite.Core.Cache.CacheResult< T >.Success
get