FieldBuilderExtensions.

Initializer(FieldBuilder, string) Method

Summary

Initialize Field by specified Expression.

Use TextInitializer(FieldBuilder, string) to specify a string literal.

Namespace
Ponet
Containing Type
FieldBuilderExtensions

Syntax

public static FieldBuilder Initializer(this FieldBuilder fieldBuilder, string initializerExpression)

Parameters

Name Type Description
fieldBuilder FieldBuilder
initializerExpression string

Return Value

Type Description
FieldBuilder