RequiresFeatureAttribute constructor (1 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Creates an attribute that can be used to toggle targets. The toggle can be configured to require all or any of the provided feature(s) to pass.

public RequiresFeatureAttribute(params object[] features)
parameter description
features A set of enums representing the features that the attribute will represent.

See Also


RequiresFeatureAttribute constructor (2 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Creates an attribute that can be used to toggle targets. The toggle can be configured to require all or any of the provided feature(s) to pass.

public RequiresFeatureAttribute(params string[] features)
parameter description
features The names of the features that the attribute will represent.

See Also