Class InjectionContext
This defines the values needed for Injection.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InjectionContext : IInjectionContext
Syntax (vb)
Public Class InjectionContext Implements IInjectionContext
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Constructs;
Construct construct;
var injectionContext = new InjectionContext {
Id = "id",
Scope = construct
};
Synopsis
Constructors
| InjectionContext() | This defines the values needed for Injection. |
Properties
| Id | id from the Construct constructor. |
| Scope | scope from the constructor. |
Constructors
InjectionContext()
This defines the values needed for Injection.
public InjectionContext()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Constructs;
Construct construct;
var injectionContext = new InjectionContext {
Id = "id",
Scope = construct
};
Properties
Id
id from the Construct constructor.
public string Id { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Scope
scope from the constructor.
public Construct Scope { get; set; }
Property Value
Construct
Remarks
ExampleMetadata: fixture=_generated