Skip to content

GenericHandlerTypeAttribute class

namespace: Serenity.Services   assemblySerenity.Net.Services

Assigns the generic handler type (e.g. SaveRequestHandler for a handler interface (like ISaveRequestHandler).

[AttributeUsage(AttributeTargets.Interface)]
public class GenericHandlerTypeAttribute : Attribute
parameter description
type The handler type

Public Members

name description
GenericHandlerTypeAttribute(…) Assigns the generic handler type (e.g. SaveRequestHandler for a handler interface (like ISaveRequestHandler).
Value { get; } Gets the generic handler type.

Remarks

Initializes a new instance of the attribute.

See Also