17.274. Class ListSessionsRequestExt

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

public static class ListSessionsRequestExt

17.274.1. Inheritance

objectListSessionsRequestExt

17.274.2. Inherited Members

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

17.274.3. Methods

17.274.3.1. ToField(Sort)

Converts gRPC message into the associated field

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

17.274.3.1.1. Parameters

sort ListSessionsRequest.Types.Sort

The gPRC message

17.274.3.1.2. Returns

Expression<Func<SessionData, object?>>

The that access the field from the object

17.274.3.1.3. Exceptions

ArgumentOutOfRangeException

the given message is not recognized

17.274.3.2. ToField(SessionField)

public static Expression<Func<SessionData, object?>> ToField(this SessionField taskField)

17.274.3.2.1. Parameters

taskField SessionField

17.274.3.2.2. Returns

Expression<Func<SessionData, object?>>

17.274.3.3. ToSessionDataFilter(Filters)

Converts gRPC message filters into an that represents the filter conditions

public static Expression<Func<SessionData, bool>> ToSessionDataFilter(this Filters filters)

17.274.3.3.1. Parameters

filters Filters

The gPRC filters

17.274.3.3.2. Returns

Expression<Func<SessionData, bool>>

The that represents the filter conditions

17.274.3.3.3. Exceptions

ArgumentOutOfRangeException

the given message is not recognized