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