AddBehaviorAttribute constructor
namespace: Serenity.ComponentModel assembly: Serenity.Net.Services
Creates an instance of the attribute
public AddBehaviorAttribute(Type behaviorType)
| parameter | description |
|---|---|
| behaviorType | Behavior type |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | behaviorType is abstract or an interface |
See Also
- class AddBehaviorAttribute