Table of Contents

Class LayoutEngineCustomActionWithPayloadTransform<T>

Namespace
Whim
Assembly
Whim.dll
Performs a custom action in a layout engine.
public record LayoutEngineCustomActionWithPayloadTransform<T> : BaseWorkspaceTransform, IEquatable<Transform<bool>>, IEquatable<BaseWorkspaceTransform>, IEquatable<LayoutEngineCustomActionWithPayloadTransform<T>>

Type Parameters

T
The type of PayloadAction's payload.
Inheritance
LayoutEngineCustomActionWithPayloadTransform<T>
Implements
Derived
Inherited Members

Remarks

Layout engines need to handle the custom action in PerformCustomAction<T>(LayoutEngineCustomAction<T>). For more, see PerformCustomAction<T>(LayoutEngineCustomAction<T>).

Constructors

LayoutEngineCustomActionWithPayloadTransform(Guid, LayoutEngineCustomAction<T>)

Performs a custom action in a layout engine.
public LayoutEngineCustomActionWithPayloadTransform(Guid WorkspaceId, LayoutEngineCustomAction<T> PayloadAction)

Parameters

WorkspaceId Guid
PayloadAction LayoutEngineCustomAction<T>
Metadata about the action to perform, and the payload to perform it with.

Remarks

Layout engines need to handle the custom action in PerformCustomAction<T>(LayoutEngineCustomAction<T>). For more, see PerformCustomAction<T>(LayoutEngineCustomAction<T>).

Properties

PayloadAction

Metadata about the action to perform, and the payload to perform it with.
public LayoutEngineCustomAction<T> PayloadAction { get; init; }

Property Value

LayoutEngineCustomAction<T>