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
WorkspaceIdGuid- The id of the workspace to set the layout engine in.
LayoutEngineNamestring- 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
ctxIContext- The context.
workspaceWorkspace- The workspace to check.
engineILayoutEngine- The layout engine to check.
idxint- The index of the layout engine in the workspace.