Skip to content

DefaultSectionKeyAttribute class

namespace: Serenity   assemblySerenity.Net.Core

Attribute to access the default section key for an option class.

[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class DefaultSectionKeyAttribute : Attribute
parameter description
sectionKey Section key.

Public Members

name description
DefaultSectionKeyAttribute(…) Attribute to access the default section key for an option class.
SectionKey { get; } Gets the default section key.

Remarks

Creates a new instance of the attribute.

See Also