Enumeration ResolutionConstraintFlagConst Experimental

A collection of bit-flags describing resolution constraints to append to a bitmask.

Enumeration Members

Enumeration Members

Many: 1

Resolve multiple services for this identifier via getMany.

The constraints supported are listed in ResolutionConstraintFlag.

Returns

The resolution constraint bit-flag for SkipSelf.

None: 0

A state wherein no constraints have been specified.

Optional: 2

If the identifier cannot be found, substitute it with null.

The constraints supported are listed in ResolutionConstraintFlag.

Returns

The resolution constraint bit-flag for Optional.

Self: 8

Do not ascend the container tree to resolve this identifier.

The constraints supported are listed in ResolutionConstraintFlag.

Remarks

It is advised to combine this with Optional, as the usage of this constraint may mean that the identifier cannot be resolved.

Returns

The resolution constraint bit-flag for Self.

SkipSelf: 4

Begin searching from the parent container to resolve this identifier.

The constraints supported are listed in ResolutionConstraintFlag.

Returns

The resolution constraint bit-flag for SkipSelf.

Generated using TypeDoc