1. TypedEntityDefinitionConstraintAttribute

Class TypedEntityDefinitionConstraintAttribute

Allows to put a constraint on ITypedEntity to ensure the handled entity is of a certain entity definition.

Inheritance
object
TypedEntityDefinitionConstraintAttribute
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsTypedAttributes
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class TypedEntityDefinitionConstraintAttribute : Attribute

Constructors

TypedEntityDefinitionConstraintAttribute(string)

Initializes a new instance of the TypedEntityDefinitionConstraintAttribute class.

Declaration
public TypedEntityDefinitionConstraintAttribute(string definitionName)
Parameters
TypeNameDescription
stringdefinitionName

The definition name.

Properties

DefinitionName

Gets the entity definition name.

Declaration
public string DefinitionName { get; }
Property Value
TypeDescription
string
If you have suggestions for improving this article, let us know!