Class PushEachOptionsBuilder<TValue>
A fluent builder for PushEachOptions.
public class PushEachOptionsBuilder<TValue>
Type Parameters
TValue
The type of the value.
- Inheritance
-
PushEachOptionsBuilder<TValue>
- Inherited Members
- Extension Methods
Methods
Build()
Builds the PushEachArgs.
public PushEachOptions Build()
Returns
- PushEachOptions
A built PushEachOptions.
Position(int)
Specifies the position for the array.
public PushEachOptionsBuilder<TValue> Position(int position)
Parameters
position
intThe position.
Returns
- PushEachOptionsBuilder<TValue>
The builder.
Slice(int)
Specifies a slice for the array.
public PushEachOptionsBuilder<TValue> Slice(int slice)
Parameters
slice
intThe slice.
Returns
- PushEachOptionsBuilder<TValue>
The builder.
SortAscending(params Expression<Func<TValue, object>>[])
Sorts the array in ascending order.
public PushEachOptionsBuilder<TValue> SortAscending(params Expression<Func<TValue, object>>[] memberExpressions)
Parameters
memberExpressions
Expression<Func<TValue, object>>[]The member expressions.
Returns
- PushEachOptionsBuilder<TValue>
The builder.
SortDescending(params Expression<Func<TValue, object>>[])
Sorts the array in descending order.
public PushEachOptionsBuilder<TValue> SortDescending(params Expression<Func<TValue, object>>[] memberExpressions)
Parameters
memberExpressions
Expression<Func<TValue, object>>[]The member expressions.
Returns
- PushEachOptionsBuilder<TValue>
The builder.