Skip to content

AddBehaviorAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.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