Skip to content

DefaultHandlerAttribute class

namespace: Serenity.Services   assembly: Serenity.Net.Services

Specifies that the class this attribute attached to is the default handler (list, create, delete, update etc). and should be used by some behaviors like MasterDetailRelationBehavior instead of creating a generic handler.

[AttributeUsage(AttributeTargets.Class)]
public class DefaultHandlerAttribute : Attribute

Public Members

name description
DefaultHandlerAttribute(…) Creates an instance of the attribute
Value { get; } Gets if the handler marked as default.

See Also