Interface IGetContextValueOptions
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGetContextValueOptions : IGetContextKeyOptions
Syntax (vb)
Public Interface IGetContextValueOptions
Inherits IGetContextKeyOptions
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;
var dummyValue;
var props;
var getContextValueOptions = new GetContextValueOptions {
DummyValue = dummyValue,
Provider = "provider",
// the properties below are optional
IgnoreErrorOnMissingContext = false,
IncludeEnvironment = false,
Props = new Dictionary<string, object> {
{ "propsKey", props }
}
};
Synopsis
Properties
DummyValue | The value to return if the context value was not found and a missing context is reported. |
IgnoreErrorOnMissingContext | When True, the context provider will not throw an error if missing context is reported. |
Properties
DummyValue
The value to return if the context value was not found and a missing context is reported.
object DummyValue { get; }
Property Value
System.Object
IgnoreErrorOnMissingContext
When True, the context provider will not throw an error if missing context is reported.
virtual Nullable<bool> IgnoreErrorOnMissingContext { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false