Table of Contents

Struct StringBuilderScope

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

Represents a scope in which a cached Builder instance is retrieved and released back to the cache.

public readonly struct StringBuilderScope : IDisposable
Implements
Inherited Members

Properties

Builder

Gets the Builder instance that was retrieved from the cache for this scope.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ToString()

Returns the string value of the Builder instance

Operators

implicit operator StringBuilder(in StringBuilderScope)

Operator to implicitly convert the StringBuilderScope instance to a Builder for use in code that expects a Builder.