Click or drag to resize

ServiceModelAttribute Constructor

Constructor.

Namespace:  Neon.ModelGen
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public ServiceModelAttribute(
	string name = null,
	string group = null
)

Parameters

name (Optional)
Type: SystemString
Optionally specifies the name to be used for the generated service client class. This defaults to the tagged controller class name with a "Controller" suffix being stripped off if present.
group (Optional)
Type: SystemString

Optionally specifies that the methods from this controller should be grouped together in a generated controller class composed from multiple service controllers. Set this to the name to be used for the client property under which these methods will be generated.

Note Note
name must also be specified when group is set.
See Also