• Home
  • .NET
  • Unity
  • Godot
  • Design Overview
  • API Documentation
  • Changelog
  • GitHub
Show / Hide Table of Contents
  • Responsible
    • BddExtensions
    • IExternalResultSource
    • IFailureListener
    • IGlobalContextProvider
    • IOptionalTestResponder
    • ITestInstruction<T>
    • ITestOperation<T>
    • ITestResponder<T>
    • ITestScheduler
    • ITestWaitCondition<T>
    • LinqSupport
    • OptionalTestResponder
    • RepetitionLimitExceededException
    • Responsibly
    • TestFailureException
    • TestInstruction
    • TestInstructionExecutor
    • TestInstructionExecutor.StateNotificationCallback
    • TestOperationState
    • TestResponder
    • TestWaitCondition
  • Responsible.Bdd
    • IBddStep
    • Keywords
    • ScenarioBuilder
  • Responsible.Context
    • RunContext
  • Responsible.Docs
    • Inherit
  • Responsible.State
    • ITestOperationState
    • ITestOperationState<T>
    • StateStringBuilder
    • TestOperationStateTransition
    • TestOperationStatus
  • Responsible.Unity
    • TestOperationYieldInstruction<T>
    • UnhandledLogMessageException
    • UnityErrorLogInterceptor
    • UnityFailureListener
    • UnityTestInstructionExecutor
    • UnityTestScheduler
  • Responsible.Utilities
    • IMultipleTaskAwaiter<T>
    • IMultipleTaskSource<T>
    • IndentedStringBuilder<T>
    • RetryingPoller

Class StateStringBuilder

Utility class for building string representations of test operation execution states.

Inheritance
object
IndentedStringBuilder<StateStringBuilder>
StateStringBuilder
Inherited Members
IndentedStringBuilder<StateStringBuilder>.ToString()
Namespace: Responsible.State
Assembly: Responsible.dll
Syntax
public class StateStringBuilder : IndentedStringBuilder<StateStringBuilder>

Methods

AddDetails(string)

Adds details to the state of an operation.

Declaration
public void AddDetails(string details)
Parameters
Type Name Description
string details

Details to add, may be multiple lines

Remarks

The input will be split by the newline character, and added as separate lines, to respect indentation.

AddNestedDetails(string, Action<StateStringBuilder>)

Adds nested details using indentation. This method may be called recursively from addNested to add multiple levels of indentation.

Declaration
public void AddNestedDetails(string description, Action<StateStringBuilder> addNested)
Parameters
Type Name Description
string description

Description of the details.

Action<StateStringBuilder> addNested

Action to add more details at an increased indentation level.

In this article
Back to top Generated by DocFX