Open sandboxFocus

Method WithObjectInitializer

WithObjectInitializer(params (IFieldOrProperty FieldOrProperty, IExpression Value)[])

Declaration
IExpression WithObjectInitializer(params (IFieldOrProperty FieldOrProperty, IExpression Value)[] initializationExpressions)
Parameters
Type Name Description
(IFieldOrProperty FieldOrProperty, IExpression Value)[] initializationExpressions
Returns
Type Description
IExpression

WithObjectInitializer(params (string FieldOrPropertyName, IExpression Value)[])

Declaration
IExpression WithObjectInitializer(params (string FieldOrPropertyName, IExpression Value)[] initializationExpressions)
Parameters
Type Name Description
(string FieldOrPropertyName, IExpression Value)[] initializationExpressions
Returns
Type Description
IExpression