Show / Hide Table of Contents

Class RefIdObject

A base class for many MoonSharp objects. Helds a ReferenceID property which gets a different value for every object instance, for debugging purposes. Note that the ID is not assigned in a thread safe manner for speed reason, so the IDs are guaranteed to be unique only if everything is running on one thread at a time.

Inheritance
System.Object
RefIdObject
CallbackFunction
Closure
Coroutine
Table
UserData
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class RefIdObject

Properties

ReferenceID

Gets the reference identifier.

Declaration
public int ReferenceID { get; }
Property Value
System.Int32

The reference identifier.

Methods

FormatTypeString(String)

Formats a string with a type name and a ref-id

Declaration
public string FormatTypeString(string typeString)
Parameters
System.String typeString

The type name.

Returns
System.String

Back to top Built by Itinero, MIT licensed.