Class SetLayoutEngineFromNameTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Set the active layout engine in the workspace specified by
WorkspaceId
and LayoutEngineName
.public record SetLayoutEngineFromNameTransform : ActivateLayoutEngineTransform, IEquatable<Transform<bool>>, IEquatable<BaseWorkspaceTransform>, IEquatable<ActivateLayoutEngineTransform>, IEquatable<SetLayoutEngineFromNameTransform>
- Inheritance
-
SetLayoutEngineFromNameTransform
- Implements
- Inherited Members
Constructors
SetLayoutEngineFromNameTransform(Guid, string)
Set the active layout engine in the workspace specified by
WorkspaceId
and LayoutEngineName
.public SetLayoutEngineFromNameTransform(Guid WorkspaceId, string LayoutEngineName)
Parameters
WorkspaceId
Guid- The id of the workspace to set the layout engine in.
LayoutEngineName
string- The name of the layout engine to set as active.
Properties
LayoutEngineName
The name of the layout engine to set as active.
public string LayoutEngineName { get; init; }
Property Value
Methods
Predicate(IContext, Workspace, ILayoutEngine, int)
The predicate to determine which layout engine should be activated.
public override bool Predicate(IContext ctx, Workspace workspace, ILayoutEngine engine, int idx)
Parameters
ctx
IContext- The context.
workspace
Workspace- The workspace to check.
engine
ILayoutEngine- The layout engine to check.
idx
int- The index of the layout engine in the workspace.