Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-dotnet latest

TemporaryHierarchyScope

Namespace LibTmux.Testing.TemporaryHierarchyScope LibTmux.Testing

A server, session, window, and pane a test owns together.

View as Markdown

Source and package
Module
LibTmux.Testing
Package
LibTmux
Source
src/LibTmux.Testing/TemporaryHierarchyScope.cs
class LibTmux.Testing.TemporaryHierarchyScope
class [source]

Description#

Most tests want somewhere to type, which is four objects deep. Making them one at a time leaves a test holding four scopes and disposing them in the right order; one scope owns the lot and unwinds from the server, which takes everything inside it with it.

Discussed in Ownership and cleanup

Members5 members#

Other members5 members#

Esc

Type to search.