Class RemoveWorkspaceByIdTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Removes the first workspace which matches the
Id
.public record RemoveWorkspaceByIdTransform : BaseRemoveWorkspaceTransform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<BaseRemoveWorkspaceTransform>, IEquatable<RemoveWorkspaceByIdTransform>
- Inheritance
-
RemoveWorkspaceByIdTransform
- Implements
- Inherited Members
Constructors
RemoveWorkspaceByIdTransform(Guid)
Removes the first workspace which matches the
Id
.public RemoveWorkspaceByIdTransform(Guid Id)
Parameters
Id
Guid
Properties
Id
public Guid Id { get; init; }
Property Value
Methods
ShouldRemove(Workspace)
Determines if the provided
workspace
should be removed.public override bool ShouldRemove(Workspace workspace)
Parameters
workspace
Workspace