Class TypedEntityDefinitionConstraintAttribute
Version: 3.2
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
RequestResponse
public class TypedEntityDefinitionConstraintAttribute : AttributeConstructors
TypedEntityDefinitionConstraintAttribute(string)
Initializes a new instance of the TypedEntityDefinitionConstraintAttribute class.
Declaration
RequestResponse
public TypedEntityDefinitionConstraintAttribute(string definitionName)Parameters
| Type | Name | Description |
|---|---|---|
| string | definitionName |
The definition name. |
Properties
DefinitionName
Gets the entity definition name.
Declaration
RequestResponse
public string DefinitionName { get; }Property Value
| Type | Description |
|---|---|
| string |