Skip to content

GenerateInterfaceAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Marks a class so that its accompanying interface is generated by Serenity.Pro.Coder InterfaceSourceGenerator.

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

Public Members

name description
GenerateInterfaceAttribute() The default constructor.
RequireFeatures { get; set; } Set of features that will be added via the RequiresFeature attribute to the interface.

See Also