Show / Hide Table of Contents

Enum WhenToAllow

Enum WhenToAllow is a value type for a property that indicates when a particular syntax, function, behavior, or feature indicated by the property is allowed to be used in a DTDL model.

Namespace: DTDLParser
Assembly: DTDLParser.dll
Syntax
public enum WhenToAllow

Fields

Name Description
Always

The syntax, function, behavior, or feature is always allowed for every model written in any DTDL language version.

Never

The syntax, function, behavior, or feature is never allowed for any model written in any DTDL language version.

PerDefault

The syntax, function, behavior, or feature is allowed or disallowed per the default specified by the metamodel for the DTDL language version. The defaults may be different for different language versions.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX