Skip to content
v2.274.0

IPropertyInjector Interface ​

This interface define an inject function that operates on a Construct's Property.

The Construct must have a constructUniqueId to uniquely identify itself.

Properties ​

constructUniqueIdstringconstruct_unique_idstrconstructUniqueIdStringConstructUniqueIdstringConstructUniqueId*stringrequired#
The unique Id of the Construct class.

Methods ​

inject(originalProps: any, context: InjectionContext): anydef inject(self, original_props: Any, context: InjectionContext) -> Anypublic Object inject(Object originalProps, InjectionContext context)public object Inject(object originalProps, InjectionContext context)func Inject(OriginalProps interface{}, Context InjectionContext) interface{}#
The injector to be applied to the constructor properties of the Construct.