Interface IMixin
(experimental) A mixin is a reusable piece of functionality that can be applied to constructs to add behavior, properties, or modify existing functionality without inheritance.
Namespace: Amazon.CDK.Mixins.Preview.Core
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface IMixin
Syntax (vb)
Public Interface IMixin
Remarks
Stability: Experimental
Synopsis
Methods
| ApplyTo(IConstruct) | (experimental) Applies the mixin functionality to the target construct. |
| Supports(IConstruct) | (experimental) Determines whether this mixin can be applied to the given construct. |
Methods
ApplyTo(IConstruct)
(experimental) Applies the mixin functionality to the target construct.
IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Remarks
Stability: Experimental
Supports(IConstruct)
(experimental) Determines whether this mixin can be applied to the given construct.
bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Remarks
Stability: Experimental