Skip to content

TextStudioGenerationHandle

StructTextStudioTextStudio
public readonly struct TextStudioGenerationHandle

Generation-safe identifier used by extension registrations and authority leases.

public bool Equals(TextStudioGenerationHandle other)

Parameters

Name Type
other TextStudio.TextStudioGenerationHandle

Returns

System.Boolean

public override bool Equals(object obj)

Parameters

Name Type
obj System.Object

Returns

System.Boolean

public override int GetHashCode()

Returns

System.Int32

operator ==(TextStudioGenerationHandle, TextStudioGenerationHandle)

Section titled “operator ==(TextStudioGenerationHandle, TextStudioGenerationHandle)”
public static bool operator ==(TextStudioGenerationHandle left, TextStudioGenerationHandle right)

Reports whether two generation handles identify the same live slot generation.

Parameters

Name Type
left TextStudio.TextStudioGenerationHandle
right TextStudio.TextStudioGenerationHandle

Returns

System.Boolean

operator !=(TextStudioGenerationHandle, TextStudioGenerationHandle)

Section titled “operator !=(TextStudioGenerationHandle, TextStudioGenerationHandle)”
public static bool operator !=(TextStudioGenerationHandle left, TextStudioGenerationHandle right)

Reports whether two generation handles identify different slot generations.

Parameters

Name Type
left TextStudio.TextStudioGenerationHandle
right TextStudio.TextStudioGenerationHandle

Returns

System.Boolean

public int Slot { get; }

Returns

System.Int32

public uint Generation { get; }

Returns

System.UInt32

public bool IsValid { get; }

Returns

System.Boolean