Manual

Overview

Lifetime strategy for manual GC operations.

Location


 

constructor  protected    (declared in ValueType)

 

constructor

 

Manual()

 

init()

 

Manual()

 

Sub New()

Assign

 

class method Assign(var aDest: Manual; var aSource: Manual)

 

static void Assign(ref Manual aDest, ref Manual aSource)

 

static func Assign(_ aDest: Manual, _ aSource: Manual)

 

static void Assign(__ref Manual aDest, __ref Manual aSource)

 

Shared Sub Assign(ByRef aDest As Manual, ByRef aSource As Manual)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: Manual; var aSource: Manual)

 

static void Copy(ref Manual aDest, ref Manual aSource)

 

static func Copy(_ aDest: Manual, _ aSource: Manual)

 

static void Copy(__ref Manual aDest, __ref Manual aSource)

 

Shared Sub Copy(ByRef aDest As Manual, ByRef aSource As Manual)

Parameters:

  • aDest:
  • aSource:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Free<T>

 

class method Free<T>(aVal: lifetimestrategy(Manual)T)

 

static void Free<T>(lifetimestrategy(Manual)T aVal)

 

static func Free<T>(_ aVal: lifetimestrategy(Manual)T)

 

static void Free<T>(lifetimestrategy(Manual)T aVal)

 

Shared Sub Free<T>(aVal As lifetimestrategy(Manual)T)

Parameters:

  • aVal:

FreeObject

 

class method FreeObject(aObj: IntPtr)

 

static void FreeObject(IntPtr aObj)

 

static func FreeObject(_ aObj: IntPtr)

 

static void FreeObject(IntPtr aObj)

 

Shared Sub FreeObject(aObj As IntPtr)

Parameters:

  • aObj:

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Init

 

class method Init(var Dest: Manual)

 

static void Init(ref Manual Dest)

 

static func Init(_ Dest: Manual)

 

static void Init(__ref Manual Dest)

 

Shared Sub Init(ByRef Dest As Manual)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: IntPtr): ^void

 

static void* New(void* aTTY, IntPtr aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: IntPtr) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, IntPtr aSize)

 

Shared Function New(aTTY As Ptr(Of Void), aSize As IntPtr) As Ptr(Of Void)

Parameters:

  • aTTY:
  • aSize:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

Release

 

class method Release(var Dest: Manual)

 

static void Release(ref Manual Dest)

 

static func Release(_ Dest: Manual)

 

static void Release(__ref Manual Dest)

 

Shared Sub Release(ByRef Dest As Manual)

Parameters:

  • Dest:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

 

Assign

 

class method Assign(var aDest: Manual; var aSource: Manual)

 

static void Assign(ref Manual aDest, ref Manual aSource)

 

static func Assign(_ aDest: Manual, _ aSource: Manual)

 

static void Assign(__ref Manual aDest, __ref Manual aSource)

 

Shared Sub Assign(ByRef aDest As Manual, ByRef aSource As Manual)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: Manual; var aSource: Manual)

 

static void Copy(ref Manual aDest, ref Manual aSource)

 

static func Copy(_ aDest: Manual, _ aSource: Manual)

 

static void Copy(__ref Manual aDest, __ref Manual aSource)

 

Shared Sub Copy(ByRef aDest As Manual, ByRef aSource As Manual)

Parameters:

  • aDest:
  • aSource:

Free<T>

 

class method Free<T>(aVal: lifetimestrategy(Manual)T)

 

static void Free<T>(lifetimestrategy(Manual)T aVal)

 

static func Free<T>(_ aVal: lifetimestrategy(Manual)T)

 

static void Free<T>(lifetimestrategy(Manual)T aVal)

 

Shared Sub Free<T>(aVal As lifetimestrategy(Manual)T)

Parameters:

  • aVal:

FreeObject

 

class method FreeObject(aObj: IntPtr)

 

static void FreeObject(IntPtr aObj)

 

static func FreeObject(_ aObj: IntPtr)

 

static void FreeObject(IntPtr aObj)

 

Shared Sub FreeObject(aObj As IntPtr)

Parameters:

  • aObj:

Init

 

class method Init(var Dest: Manual)

 

static void Init(ref Manual Dest)

 

static func Init(_ Dest: Manual)

 

static void Init(__ref Manual Dest)

 

Shared Sub Init(ByRef Dest As Manual)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: IntPtr): ^void

 

static void* New(void* aTTY, IntPtr aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: IntPtr) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, IntPtr aSize)

 

Shared Function New(aTTY As Ptr(Of Void), aSize As IntPtr) As Ptr(Of Void)

Parameters:

  • aTTY:
  • aSize:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

Release

 

class method Release(var Dest: Manual)

 

static void Release(ref Manual Dest)

 

static func Release(_ Dest: Manual)

 

static void Release(__ref Manual Dest)

 

Shared Sub Release(ByRef Dest As Manual)

Parameters:

  • Dest:

 

constructor  protected    (declared in ValueType)

 

constructor

 

Manual()

 

init()

 

Manual()

 

Sub New()

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String