Table of Contents

Class LayoutEngineIdentity

Namespace
Whim
Assembly
Whim.dll
The unique identity of a layout engine within a IWorkspace.
public sealed class LayoutEngineIdentity
Inheritance
LayoutEngineIdentity
Inherited Members

Remarks

This is used to determine if a ILayoutEngine is the same as another layout engine. The leaf layout engines will have an identity, and BaseProxyLayoutEngine will proxy the identity of the inner layout engine. Creating a new layout engine from an operation on an existing layout engine will keep the same identity.

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)

Parameters

obj object
The object to compare with the current object.

Returns

bool
true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.
public override int GetHashCode()

Returns

int
A hash code for the current object.

Operators

operator ==(LayoutEngineIdentity?, LayoutEngineIdentity?)

public static bool operator ==(LayoutEngineIdentity? left, LayoutEngineIdentity? right)

Parameters

left LayoutEngineIdentity
right LayoutEngineIdentity

Returns

bool

operator !=(LayoutEngineIdentity?, LayoutEngineIdentity?)

public static bool operator !=(LayoutEngineIdentity? left, LayoutEngineIdentity? right)

Parameters

left LayoutEngineIdentity
right LayoutEngineIdentity

Returns

bool