Show / Hide Table of Contents

Class InjectionContext

This defines the values needed for Injection.

Inheritance
object
InjectionContext
Implements
IInjectionContext
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

string

Remarks

ExampleMetadata: fixture=_generated

Scope

scope from the constructor.

public Construct Scope { get; set; }
Property Value

Construct

Remarks

ExampleMetadata: fixture=_generated

Implements

IInjectionContext
Back to top Generated by DocFX