BookSleeve.RedisResult.Assert C# (CSharp) Méthode

Assert() static private méthode

static private Assert ( string error ) : RedisResult
error string
Résultat RedisResult
        internal static RedisResult Assert(string error)
        {
            return error == null ? RedisResult.Pass : new ErrorRedisResult(error);
        }

Same methods

RedisResult::Assert ( ) : void

Usage Example

 protected override bool GetValue(RedisResult result)
 {
     result.Assert(); return(true);
 }