Table of Contents

Class RemoveWorkspaceByNameTransform

Namespace
Whim
Assembly
Whim.dll
Removes the first workspace which matches the Name.
public record RemoveWorkspaceByNameTransform : BaseRemoveWorkspaceTransform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<BaseRemoveWorkspaceTransform>, IEquatable<RemoveWorkspaceByNameTransform>
Inheritance
RemoveWorkspaceByNameTransform
Implements
Inherited Members

Constructors

RemoveWorkspaceByNameTransform(string)

Removes the first workspace which matches the Name.
public RemoveWorkspaceByNameTransform(string Name)

Parameters

Name string

Properties

Name

public string Name { get; init; }

Property Value

string

Methods

ShouldRemove(Workspace)

Determines if the provided workspace should be removed.
public override bool ShouldRemove(Workspace workspace)

Parameters

workspace Workspace

Returns

bool