Share via


IAggregate<TInput,TState,TResult>.InitialState Method

Definition

Provides an expression that creates the initial state for the aggregate computation.

public System.Linq.Expressions.Expression<Func<TState>> InitialState ();
abstract member InitialState : unit -> System.Linq.Expressions.Expression<Func<'State>>
Public Function InitialState () As Expression(Of Func(Of TState))

Returns

Expression<Func<TState>>

An expression that creates the initial state for the aggregate computation.

Applies to