Show / Hide Table of Contents

Class TokenizedStringFragments

Fragments of a concatenated string containing stringified Tokens.

Inheritance
object
TokenizedStringFragments
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TokenizedStringFragments : DeputyBase
Syntax (vb)
Public Class TokenizedStringFragments Inherits DeputyBase
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 tokenizedStringFragments = new TokenizedStringFragments();

Synopsis

Constructors

TokenizedStringFragments()

Fragments of a concatenated string containing stringified Tokens.

Properties

FirstToken

Fragments of a concatenated string containing stringified Tokens.

FirstValue

Fragments of a concatenated string containing stringified Tokens.

Length

Fragments of a concatenated string containing stringified Tokens.

Tokens

Return all Tokens from this string.

Methods

AddIntrinsic(object)

Fragments of a concatenated string containing stringified Tokens.

AddLiteral(object)

Fragments of a concatenated string containing stringified Tokens.

AddToken(IResolvable)

Fragments of a concatenated string containing stringified Tokens.

Join(IFragmentConcatenator)

Combine the string fragments using the given joiner.

MapTokens(ITokenMapper)

Apply a transformation function to all tokens in the string.

Constructors

TokenizedStringFragments()

Fragments of a concatenated string containing stringified Tokens.

public TokenizedStringFragments()
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 tokenizedStringFragments = new TokenizedStringFragments();

Properties

FirstToken

Fragments of a concatenated string containing stringified Tokens.

public virtual IResolvable? FirstToken { get; }
Property Value

IResolvable

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 tokenizedStringFragments = new TokenizedStringFragments();

FirstValue

Fragments of a concatenated string containing stringified Tokens.

public virtual object FirstValue { get; }
Property Value

object

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 tokenizedStringFragments = new TokenizedStringFragments();

Length

Fragments of a concatenated string containing stringified Tokens.

public virtual double Length { get; }
Property Value

double

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 tokenizedStringFragments = new TokenizedStringFragments();

Tokens

Return all Tokens from this string.

public virtual IResolvable[] Tokens { get; }
Property Value

IResolvable[]

Remarks

ExampleMetadata: fixture=_generated

Methods

AddIntrinsic(object)

Fragments of a concatenated string containing stringified Tokens.

public virtual void AddIntrinsic(object value)
Parameters
value object
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 tokenizedStringFragments = new TokenizedStringFragments();

AddLiteral(object)

Fragments of a concatenated string containing stringified Tokens.

public virtual void AddLiteral(object lit)
Parameters
lit object
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 tokenizedStringFragments = new TokenizedStringFragments();

AddToken(IResolvable)

Fragments of a concatenated string containing stringified Tokens.

public virtual void AddToken(IResolvable token)
Parameters
token IResolvable
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 tokenizedStringFragments = new TokenizedStringFragments();

Join(IFragmentConcatenator)

Combine the string fragments using the given joiner.

public virtual object Join(IFragmentConcatenator concat)
Parameters
concat IFragmentConcatenator
Returns

object

Remarks

If there are any

MapTokens(ITokenMapper)

Apply a transformation function to all tokens in the string.

public virtual TokenizedStringFragments MapTokens(ITokenMapper mapper)
Parameters
mapper ITokenMapper
Returns

TokenizedStringFragments

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX