Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-dotnet

TemporaryHierarchyScope

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

Source and package
Qualified name
LibTmux.Testing.TemporaryHierarchyScope
Namespace
LibTmux.Testing
Package
LibTmux
Source
src/LibTmux.Testing/TemporaryHierarchyScope.cs
class LibTmux.Testing.TemporaryHierarchyScope

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.

Properties4

TemporaryHierarchyScope properties
NameTypeDescription
Pane Pane Gets the pane.
Server Server Gets the server the rest live in.
Session Session Gets the session.
Window Window Gets the window.

Members1 members

Guides

task material

Pages that discuss TemporaryHierarchyScope.

Esc
Search in

Type to search.

Reference previewOpen reference