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

NameType
otherTextStudio.TextStudioGenerationHandle

Returns

System.Boolean

public override bool Equals(object obj)

Parameters

NameType
objSystem.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

NameType
leftTextStudio.TextStudioGenerationHandle
rightTextStudio.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

NameType
leftTextStudio.TextStudioGenerationHandle
rightTextStudio.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