Skip to content

TokenizedStringFragments

Fragments of a concatenated string containing stringified Tokens.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Core;
new TokenizedStringFragments();
Name Type Description

Methods

Name Description
AddIntrinsic No description.
AddLiteral No description.
AddToken No description.
Join Combine the string fragments using the given joiner.
MapTokens Apply a transformation function to all tokens in the string.

AddIntrinsic

private void AddIntrinsic(object Value)

ValueRequired

  • Type: object

AddLiteral

private void AddLiteral(object Lit)

LitRequired

  • Type: object

AddToken

private void AddToken(IResolvable Token)

TokenRequired


Join

private object Join(IFragmentConcatenator Concat)

Combine the string fragments using the given joiner.

If there are any

ConcatRequired


MapTokens

private TokenizedStringFragments MapTokens(ITokenMapper Mapper)

Apply a transformation function to all tokens in the string.

MapperRequired


Properties

Name Type Description
FirstValue object No description.
Length double No description.
Tokens IResolvable[] Return all Tokens from this string.
FirstToken IResolvable No description.

FirstValueRequired

public object FirstValue { get; }
  • Type: object

LengthRequired

public double Length { get; }
  • Type: double

TokensRequired

public IResolvable[] Tokens { get; }

Return all Tokens from this string.


FirstTokenOptional

public IResolvable FirstToken { get; }