C# Class IronRuby.Runtime.RubyInstanceData

Stores the per-instance data that all Ruby objects need (frozen?, tainted?, instance_variables, etc) Stored in a lookaside weak hashtable for types that don't implement IRubyObject (i.e. .NET types).
Afficher le fichier Open project: ExpertsInside/IronSP Class Usage Examples

Private Properties

Свойство Type Description
CopyInstanceVariablesTo void
Freeze void
GetInstanceVariable object
GetInstanceVariableNames string[]
GetInstanceVariablePairs object>>.List
GetInstanceVariables object>.Dictionary
GetInstanceVariablesDebugView VariableDebugView[]
IsInstanceVariableDefined bool
RubyInstanceData System.Collections.Generic
RubyInstanceData System.Collections.Generic
SetInstanceVariable void
TryGetInstanceVariable bool
TryRemoveInstanceVariable bool
UpdateImmediateClass void

Private Methods

Méthode Description
CopyInstanceVariablesTo ( RubyInstanceData dup ) : void
Freeze ( ) : void
GetInstanceVariable ( string name ) : object
GetInstanceVariableNames ( ) : string[]
GetInstanceVariablePairs ( ) : object>>.List
GetInstanceVariables ( ) : object>.Dictionary

Gets the instance variables dictionary, initializing it if it was null. Only use this if you want to set something into the dictionary, otherwise just use the _instanceVars field

GetInstanceVariablesDebugView ( RubyContext context ) : VariableDebugView[]
IsInstanceVariableDefined ( string name ) : bool
RubyInstanceData ( ) : System.Collections.Generic
RubyInstanceData ( int id ) : System.Collections.Generic
SetInstanceVariable ( string name, object value ) : void
TryGetInstanceVariable ( string name, object &value ) : bool
TryRemoveInstanceVariable ( string name, object &value ) : bool
UpdateImmediateClass ( RubyClass immediate ) : void