Class TargetAttribute
Used to group data models and service definitions so that the class included in the generated code can filtered.
Namespace: Neon.ModelGen
Assembly: Neon.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Enum|AttributeTargets.Interface, AllowMultiple = true)]
public class TargetAttribute : Attribute
Constructors
TargetAttribute(string)
Constructor.
Declaration
public TargetAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The target name. |
Properties
Name
Returns the group name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |