Skip to content

EmitNameAttribute constructor

Declares that the property generated for this template property should have the specified name, instead of the auto generated one.

public EmitNameAttribute(string name)
parameter description
name Property name to use for this property in generated source.

Remarks

Creates an instance of EmitNameAttribute attribute

See Also