DefaultHandlerAttribute class

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

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