21.275. Class ListResultsRequestExt

Namespace: ArmoniK.Core.Common.gRPC
Assembly: ArmoniK.Core.Common.dll

public static class ListResultsRequestExt

21.275.1. Inheritance

objectListResultsRequestExt

21.275.2. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

21.275.3. Methods

21.275.3.1. ToField(Sort)

Converts gRPC message into the associated field

public static Expression<Func<Result, object?>> ToField(this ListResultsRequest.Types.Sort sort)

21.275.3.1.1. Parameters

sort ListResultsRequest.Types.Sort

The gPRC message

21.275.3.1.2. Returns

Expression<Func<Result, object?>>

The that access the field from the object

21.275.3.1.3. Exceptions

ArgumentOutOfRangeException

the given message is not recognized

21.275.3.2. ToField(ResultField)

public static Expression<Func<Result, object?>> ToField(this ResultField taskField)

21.275.3.2.1. Parameters

taskField ResultField

21.275.3.2.2. Returns

Expression<Func<Result, object?>>

21.275.3.3. ToResultFilter(Filters)

Converts gRPC message filters into an that represents the filter conditions

public static Expression<Func<Result, bool>> ToResultFilter(this Filters filters)

21.275.3.3.1. Parameters

filters Filters

The gPRC filters

21.275.3.3.2. Returns

Expression<Func<Result, bool>>

The that represents the filter conditions

21.275.3.3.3. Exceptions

ArgumentOutOfRangeException

the given message is not recognized