C# 클래스 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).
파일 보기 프로젝트 열기: ExpertsInside/IronSP 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

비공개 메소드들

메소드 설명
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