21.267. Class EnumFieldExt

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

Class to extend gRPC messages to convert them in in order to convert them in requests to the database

public static class EnumFieldExt

21.267.1. Inheritance

objectEnumFieldExt

21.267.2. Inherited Members

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

21.267.3. Methods

21.267.3.1. ToField(TaskOptionGenericField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<TaskData, object?>> ToField(this TaskOptionGenericField field)

21.267.3.1.1. Parameters

field TaskOptionGenericField

The gRPC message field

21.267.3.1.2. Returns

Expression<Func<TaskData, object?>>

The that access the field from the object

21.267.3.2. ToField(TaskSummaryEnumField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<TaskData, object?>> ToField(this TaskSummaryEnumField enumField)

21.267.3.2.1. Parameters

enumField TaskSummaryEnumField

The gRPC message field

21.267.3.2.2. Returns

Expression<Func<TaskData, object?>>

The that access the field from the object

21.267.3.3. ToField(TaskOptionEnumField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<TaskData, object?>> ToField(this TaskOptionEnumField enumField)

21.267.3.3.1. Parameters

enumField TaskOptionEnumField

The gRPC message field

21.267.3.3.2. Returns

Expression<Func<TaskData, object?>>

The that access the field from the object

21.267.3.4. ToField(SessionRawEnumField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<SessionData, object?>> ToField(this SessionRawEnumField enumField)

21.267.3.4.1. Parameters

enumField SessionRawEnumField

The gRPC message field

21.267.3.4.2. Returns

Expression<Func<SessionData, object?>>

The that access the field from the object

21.267.3.5. ToField(TaskOptionEnumField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<SessionData, object?>> ToField(this TaskOptionEnumField enumField)

21.267.3.5.1. Parameters

enumField TaskOptionEnumField

The gRPC message field

21.267.3.5.2. Returns

Expression<Func<SessionData, object?>>

The that access the field from the object

21.267.3.6. ToField(TaskOptionGenericField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<SessionData, object?>> ToField(this TaskOptionGenericField field)

21.267.3.6.1. Parameters

field TaskOptionGenericField

The gRPC message field

21.267.3.6.2. Returns

Expression<Func<SessionData, object?>>

The that access the field from the object

21.267.3.7. ToField(ResultRawEnumField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<Result, object?>> ToField(this ResultRawEnumField enumField)

21.267.3.7.1. Parameters

enumField ResultRawEnumField

The gRPC message field

21.267.3.7.2. Returns

Expression<Func<Result, object?>>

The that access the field from the object

21.267.3.8. ToField(PartitionRawEnumField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<PartitionData, object?>> ToField(this PartitionRawEnumField enumField)

21.267.3.8.1. Parameters

enumField PartitionRawEnumField

The gRPC message field

21.267.3.8.2. Returns

Expression<Func<PartitionData, object?>>

The that access the field from the object

21.267.3.9. ToField(ApplicationRawEnumField)

Convert gRPC field to that represent how to access the field from the database object

public static Expression<Func<TaskData, object?>> ToField(this ApplicationRawEnumField enumField)

21.267.3.9.1. Parameters

enumField ApplicationRawEnumField

The gRPC message field

21.267.3.9.2. Returns

Expression<Func<TaskData, object?>>

The that access the field from the object