TypeBuilderExtensions.

AutoProperty(TypeBuilder, ITypeName, string, Modifier, bool, bool) Method

Summary

Add Simple AutoProperty.
Namespace
Ponet
Containing Type
TypeBuilderExtensions

Syntax

public static TypeBuilder AutoProperty(this TypeBuilder typeBuilder, ITypeName typeName, string propertyName, Modifier modifier = null, bool withGetter = true, bool withSetter = true)

Parameters

Name Type Description
typeBuilder TypeBuilder
typeName ITypeName
propertyName string
modifier Modifier
withGetter bool
withSetter bool

Return Value

Type Description
TypeBuilder