AddBehaviorAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Services
Attaches an explicit behavior
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true)]
public class AddBehaviorAttribute : Attribute
Public Members
| name | description |
|---|---|
| AddBehaviorAttribute(…) | Creates an instance of the attribute |
| Value { get; } | Gets the behavior type |
See Also
- Source: AddBehaviorAttribute.cs