Class PromiseHandle
public abstract class PromiseHandle : SafeHandle, IDisposable, IEquatable<PromiseHandle>
- Inheritance
-
PromiseHandle
- Implements
- Derived
- Inherited Members
Constructors
PromiseHandle(bool)
protected PromiseHandle(bool ownsHandle)
Parameters
ownsHandle
bool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(PromiseHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PromiseHandle? other)
Parameters
other
PromiseHandleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetParent()
public MiniObjectData GetParent()
Returns
OwnedCopy()
public PromiseOwnedHandle OwnedCopy()
Returns
SetParent(MiniObjectData)
public void SetParent(MiniObjectData value)
Parameters
value
MiniObjectData
UnownedCopy()
public PromiseUnownedHandle UnownedCopy()