Table of Contents

AbsoluteOwnership<T> Struct

public struct AbsoluteOwnership<T> : IDisposable, IEquatable<AbsoluteOwnership<T>> where T : class
Important

Absolute ownership should be stored in readonly field and it should not be passed to method parameter. (i.e., should not be copied)

Type Parameters

T
Implements
Inherited Members
Extension Methods

Constructors

AbsoluteOwnership(T)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Equals(AbsoluteOwnership<T>)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Move()
Take(ref AbsoluteOwnership<T>)
Take(ref T)

Operators

operator ==(AbsoluteOwnership<T>, AbsoluteOwnership<T>)
implicit operator Borrow<T>(AbsoluteOwnership<T>)
operator !=(AbsoluteOwnership<T>, AbsoluteOwnership<T>)