Interface IPropertyInjector
This interface define an inject function that operates on a Construct's Property.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPropertyInjector
Syntax (vb)
Public Interface IPropertyInjector
Remarks
The Construct must have a constructUniqueId to uniquely identify itself.
Synopsis
Properties
| ConstructUniqueId | The unique Id of the Construct class. |
Methods
| Inject(object, IInjectionContext) | The injector to be applied to the constructor properties of the Construct. |
Properties
ConstructUniqueId
The unique Id of the Construct class.
string ConstructUniqueId { get; }
Property Value
Remarks
The Construct must have a constructUniqueId to uniquely identify itself.
Methods
Inject(object, IInjectionContext)
The injector to be applied to the constructor properties of the Construct.
object Inject(object originalProps, IInjectionContext context)
Parameters
- originalProps object
- context IInjectionContext
Returns
Remarks
The Construct must have a constructUniqueId to uniquely identify itself.