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
RequestResponse

public class TypedEntityDefinitionConstraintAttribute : Attribute

Constructors

TypedEntityDefinitionConstraintAttribute(string)

Initializes a new instance of the TypedEntityDefinitionConstraintAttribute class.

Declaration
RequestResponse

public TypedEntityDefinitionConstraintAttribute(string definitionName)
Parameters
TypeNameDescription
stringdefinitionName

The definition name.

Properties

DefinitionName

Gets the entity definition name.

Declaration
RequestResponse

public string DefinitionName { get; }
Property Value
TypeDescription
string

Do you have some feedback for us?

If you have suggestions for improving this article,