Summary
Add Simple AutoProperty.
- Namespace
- Ponet
- Containing Type
- Type
Builder Extensions
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 |