C# Class IronRuby.Builtins.RubyModule

Inheritance: IDuplicable
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Свойство Type Description
Id int

Private Properties

Свойство Type Description
AddDependentClass void
AddExtensionMethodsNoLock void
AddMethodNoCacheInvalidation void
ConstantMissing object
CreateSingletonClass RubyClass
ExpandMixinsNoLock IronRuby.Builtins.RubyModule[]
ExpandMixinsNoLock int
ForEachAncestor bool
ForEachDeclaredAncestor bool
ForEachRecursivelyDependentClass bool
GetImplementedInterfaces List
GetMethods RubyMemberInfo>>.IEnumerable
GetSuperClass RubyClass
GetUninitializedAncestors List
IDuplicable object
IRubyObject bool
IRubyObject int
IRubyObject string
IncludeLibraryModule void
IncludeModulesNoLock void
IncludeTraitNoLock void
IncrementMethodVersion void
InitializeClassVariableTable void
InitializeConstantTableNoLock void
InitializeConstantsNoLock void
InitializeConstantsNoLock void
InitializeDependencies void
InitializeImmediateClass void
InitializeImmediateClass void
InitializeMembersFrom void
InitializeMethodTableNoLock void
InitializeMethodsNoLock void
InitializeMethodsNoLock void
InitializeNewMixin void
InvalidateGroupsInDependentClasses int
IsMethodVisible bool
IsPartiallyInstantiated bool
IsSuperClassAncestor bool
LoadNestedTypes void
MethodRemoved void
MethodUndefined void
MethodsUpdated void
MixinsUpdated void
Mutate void
OwnedMethodCachedInSite void
PrepareExtensionMethodsUpdate void
PrepareMethodUpdate void
Publish void
RemoveMethodNoCacheInvalidation bool
RemoveMethodNoEvent bool
ResolveMethodForSiteNoLock IronRuby.Runtime.Calls.MethodResolutionResult
RubyModule System
SetConstantNoLock void
SetConstantNoMutateNoLock void
SetMethodNoMutateNoEventNoLock void
TryGetClrMember bool
TryGetConstant bool
TryGetConstantNoAutoloadCheck bool
TryGetConstantNoAutoloadNoInit bool
TryGetConstantNoLock bool
TryGetDefinedMethod bool
TryGetDefinedMethod bool
TryGetMethod bool
TryGetMethod bool
TryLookupConstantNoLock ConstantLookupResult
TryRemoveConstantNoLock bool
TryResolveConstant bool
TryResolveConstant bool
TryResolveConstantNoAutoloadCheck RubyModule
TryResolveConstantNoLock bool

Méthodes publiques

Méthode Description
AddMethod ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
AddMethodAlias ( string newName, string oldName ) : void
CreateAnonymousModule ( IronRuby.Runtime.RubyScope scope, BlockParam body, RubyClass self ) : object
EnumerateClassVariables ( Func action ) : bool
EnumerateConstants ( Func action ) : bool
EnumerateMethods ( Func action ) : bool
ExpandMixinsNoLock ( RubyClass superClass, RubyModule modules ) : IronRuby.Builtins.RubyModule[]
ForEachAncestor ( bool inherited, bool>.Func action ) : bool
ForEachClassVariable ( bool inherited, Func action ) : void
ForEachConstant ( bool inherited, Func action ) : void
ForEachInstanceMethod ( bool inherited, Func action ) : void
ForEachMember ( bool inherited, RubyMethodAttributes attributes, Action action ) : void
ForEachMember ( bool inherited, RubyMethodAttributes attributes, IEnumerable foreignMembers, Action action ) : void

inherited == false, attributes & attr == Instance: - get methods in the "self" module - also include methods on singleton ancestor classes until a non-singleton class is reached inherited == false, attributes & attr == Singleton: - get methods only in the "self" module if it's a singleton class - do not visit mixins nor super classes inherited == true, attributes & attr == Singleton: - walk all ancestors until a non-singleton class is reached (do not include non-singleton's methods) inherited == true, attributes & attr == None: - walk all ancestors until an Object is reached Methods are filtered by visibility specified in attributes (mutliple visibilities could be specified). A name undefined in a module is not visible in that module and its ancestors. Method names are not duplicated in the result.

Not thread safe.

Freeze ( ) : void
GetAutoloadedConstantPath ( string name ) : MutableString
GetDisplayName ( RubyContext context, bool showEmptyName ) : MutableString
GetInstanceData ( ) : RubyInstanceData
GetMethod ( string name ) : IronRuby.Runtime.Calls.RubyMemberInfo
GetMixins ( ) : IronRuby.Builtins.RubyModule[]
GetName ( RubyContext context ) : string
GetOrCreateSingletonClass ( ) : RubyClass
GetUnderlyingSystemType ( ) : Type
HasAncestor ( RubyModule module ) : bool
HasAncestorNoLock ( RubyModule module ) : bool
HideMethod ( string name ) : void
IncludeModules ( ) : void
InitializeModuleCopy ( RubyModule module ) : void
IsModuleType ( Type type ) : bool

Returns true if the CLR type is treated as Ruby module (as opposed to a Ruby class)

MakeNestedModuleName ( string nestedModuleSimpleName ) : string
MethodAdded ( string name ) : void
RemoveClassVariable ( string name ) : bool
RemoveMethod ( string name ) : bool
ResolveMethod ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
ResolveMethodForSite ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
ResolveMethodForSiteNoLock ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
ResolveMethodNoLock ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
ResolveMethodNoLock ( string name, VisibilityContext visibility, MethodLookup options ) : IronRuby.Runtime.Calls.MethodResolutionResult
ResolveSuperMethodNoLock ( string name, RubyModule callerModule ) : IronRuby.Runtime.Calls.MethodResolutionResult
RubyModule ( RubyClass metaModuleClass ) : System
SetAutoloadedConstant ( string name, MutableString path ) : void
SetClassVariable ( string name, object value ) : void
SetConstant ( string name, object value ) : void
SetConstantChecked ( string name, object value ) : bool

Sets constant of this module. Returns true if the constant is already defined in the module and it is not an autoloaded constant.

Thread safe.

SetDefinedMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void
SetMethodNoEvent ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
SetMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
SetModuleFunctionNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
SetVisibilityNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void
ToString ( ) : string
TryGetClassVariable ( string name, object &value ) : bool
TryGetConstant ( RubyGlobalScope autoloadScope, string name, object &value ) : bool
TryGetInstanceData ( ) : RubyInstanceData
TryRemoveConstant ( string name, object &value ) : bool
TryResolveClassVariable ( string name, object &value ) : RubyModule
UndefineMethod ( string name ) : void
UndefineMethodNoEvent ( string name ) : void

Méthodes protégées

Méthode Description
EnumerateClrMembers ( Type type ) : IEnumerable
RubyModule ( RubyClass metaModuleClass, string name ) : System
TryGetClrMember ( Type type, string name, bool mapNames, bool unmangleNames, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool

Private Methods

Méthode Description
AddDependentClass ( RubyClass dependentClass ) : void
AddExtensionMethodsNoLock ( List extensions ) : void
AddMethodNoCacheInvalidation ( string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void

Direct addition to the method table. Used only for core method table operations. Do not use unless absolutely sure there is no overriding method used in a dynamic site.

ConstantMissing ( string name ) : object
CreateSingletonClass ( RubyClass superClass, Action trait ) : RubyClass

Create a new singleton class for this module. Doesn't attach this module to it yet, the caller needs to do so.

Thread safe.

ExpandMixinsNoLock ( RubyClass superClass, RubyModule existing, IList added ) : IronRuby.Builtins.RubyModule[]
ExpandMixinsNoLock ( RubyClass superClass, List existing, int index, IList added, bool recursive ) : int
ForEachAncestor ( bool>.Func action ) : bool
ForEachDeclaredAncestor ( bool>.Func action ) : bool
ForEachRecursivelyDependentClass ( bool>.Func action ) : bool

Calls given action on all modules that are directly or indirectly nested into this module.

GetImplementedInterfaces ( ) : List
GetMethods ( ) : RubyMemberInfo>>.IEnumerable
GetSuperClass ( ) : RubyClass
GetUninitializedAncestors ( bool methods ) : List
IDuplicable ( RubyContext context, bool copySingletonMembers ) : object
IRubyObject ( object other ) : bool
IRubyObject ( ) : int
IRubyObject ( ) : string
IncludeLibraryModule ( Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins, bool builtin ) : void
IncludeModulesNoLock ( RubyModule modules ) : void
IncludeTraitNoLock ( Action &initializer, MemberTableState tableState, Action trait ) : void
IncrementMethodVersion ( ) : void
InitializeClassVariableTable ( ) : void
InitializeConstantTableNoLock ( ) : void
InitializeConstantsNoLock ( ) : void
InitializeConstantsNoLock ( IList modules ) : void
InitializeDependencies ( ) : void
InitializeImmediateClass ( RubyClass cls ) : void
InitializeImmediateClass ( RubyClass singletonSuperClass, Action trait ) : void
InitializeMembersFrom ( RubyModule module ) : void
InitializeMethodTableNoLock ( ) : void
InitializeMethodsNoLock ( ) : void
InitializeMethodsNoLock ( IList modules ) : void
InitializeNewMixin ( RubyModule mixin ) : void
InvalidateGroupsInDependentClasses ( string methodName, int maxLevel ) : int
IsMethodVisible ( IronRuby.Runtime.Calls.RubyMemberInfo method, RubyModule owner, VisibilityContext visibility, bool foundCallerSelf ) : bool
IsPartiallyInstantiated ( Type type ) : bool
IsSuperClassAncestor ( RubyModule module ) : bool

Returns true if given module is an ancestor of the superclass of this class (provided that this is a class).

LoadNestedTypes ( ) : void
MethodRemoved ( string name ) : void
MethodUndefined ( string name ) : void
MethodsUpdated ( string reason ) : void
MixinsUpdated ( RubyModule oldMixins, RubyModule newMixins ) : void
Mutate ( ) : void
OwnedMethodCachedInSite ( ) : void
PrepareExtensionMethodsUpdate ( List extensions ) : void
PrepareMethodUpdate ( string methodName, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
Publish ( string name ) : void
RemoveMethodNoCacheInvalidation ( string name ) : bool

Direct removal from the method table. Used only for core method table operations.

RemoveMethodNoEvent ( string name ) : bool
ResolveMethodForSiteNoLock ( string name, VisibilityContext visibility, MethodLookup options ) : IronRuby.Runtime.Calls.MethodResolutionResult
RubyModule ( RubyContext context, string name, Action methodsInitializer, Action constantsInitializer, RubyModule expandedMixins, Microsoft.Scripting.Actions.NamespaceTracker namespaceTracker, TypeTracker typeTracker, ModuleRestrictions restrictions ) : System
SetConstantNoLock ( string name, object value ) : void
SetConstantNoMutateNoLock ( string name, object value ) : void
SetMethodNoMutateNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
TryGetClrMember ( string name, bool virtualLookup, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool
TryGetConstant ( RubyGlobalScope autoloadScope, string name, IronRuby.Runtime.ConstantStorage &value ) : bool

Get constant defined in this module.

TryGetConstantNoAutoloadCheck ( string name, IronRuby.Runtime.ConstantStorage &storage ) : bool
TryGetConstantNoAutoloadNoInit ( string name, IronRuby.Runtime.ConstantStorage &storage ) : bool
TryGetConstantNoLock ( RubyGlobalScope autoloadScope, string name, IronRuby.Runtime.ConstantStorage &value ) : bool

Get constant defined in this module.

TryGetDefinedMethod ( string name, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool
TryGetDefinedMethod ( string name, bool &skipHidden, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool
TryGetMethod ( string name, bool &skipHidden, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool
TryGetMethod ( string name, bool &skipHidden, bool virtualLookup, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool
TryLookupConstantNoLock ( bool included, bool inherited, RubyGlobalScope autoloadScope, string name, IronRuby.Runtime.ConstantStorage &value ) : ConstantLookupResult
TryRemoveConstantNoLock ( string name, object &value ) : bool
TryResolveConstant ( RubyContext callerContext, RubyGlobalScope autoloadScope, string name, IronRuby.Runtime.ConstantStorage &value ) : bool
TryResolveConstant ( RubyGlobalScope autoloadScope, string name, IronRuby.Runtime.ConstantStorage &value ) : bool

Get constant defined in this module or any of its ancestors. Autoloads if autoloadScope is not null.

Thread safe.

TryResolveConstantNoAutoloadCheck ( bool inherited, string name, IronRuby.Runtime.ConstantStorage &value ) : RubyModule
TryResolveConstantNoLock ( RubyGlobalScope autoloadScope, string name, IronRuby.Runtime.ConstantStorage &value ) : bool

Get constant defined in this module or any of its ancestors.

Method Details

AddMethod() public méthode

public AddMethod ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
callerContext RubyContext
name string
method IronRuby.Runtime.Calls.RubyMemberInfo
Résultat void

AddMethodAlias() public méthode

public AddMethodAlias ( string newName, string oldName ) : void
newName string
oldName string
Résultat void

CreateAnonymousModule() public static méthode

public static CreateAnonymousModule ( IronRuby.Runtime.RubyScope scope, BlockParam body, RubyClass self ) : object
scope IronRuby.Runtime.RubyScope
body IronRuby.Runtime.BlockParam
self RubyClass
Résultat object

EnumerateClassVariables() public méthode

public EnumerateClassVariables ( Func action ) : bool
action Func
Résultat bool

EnumerateClrMembers() protected méthode

protected EnumerateClrMembers ( Type type ) : IEnumerable
type System.Type
Résultat IEnumerable

EnumerateConstants() public méthode

public EnumerateConstants ( Func action ) : bool
action Func
Résultat bool

EnumerateMethods() public méthode

public EnumerateMethods ( Func action ) : bool
action Func
Résultat bool

ExpandMixinsNoLock() public static méthode

public static ExpandMixinsNoLock ( RubyClass superClass, RubyModule modules ) : IronRuby.Builtins.RubyModule[]
superClass RubyClass
modules RubyModule
Résultat IronRuby.Builtins.RubyModule[]

ForEachAncestor() public méthode

public ForEachAncestor ( bool inherited, bool>.Func action ) : bool
inherited bool
action bool>.Func
Résultat bool

ForEachClassVariable() public méthode

public ForEachClassVariable ( bool inherited, Func action ) : void
inherited bool
action Func
Résultat void

ForEachConstant() public méthode

public ForEachConstant ( bool inherited, Func action ) : void
inherited bool
action Func
Résultat void

ForEachInstanceMethod() public méthode

public ForEachInstanceMethod ( bool inherited, Func action ) : void
inherited bool
action Func
Résultat void

ForEachMember() public méthode

public ForEachMember ( bool inherited, RubyMethodAttributes attributes, Action action ) : void
inherited bool
attributes RubyMethodAttributes
action Action
Résultat void

ForEachMember() public méthode

inherited == false, attributes & attr == Instance: - get methods in the "self" module - also include methods on singleton ancestor classes until a non-singleton class is reached inherited == false, attributes & attr == Singleton: - get methods only in the "self" module if it's a singleton class - do not visit mixins nor super classes inherited == true, attributes & attr == Singleton: - walk all ancestors until a non-singleton class is reached (do not include non-singleton's methods) inherited == true, attributes & attr == None: - walk all ancestors until an Object is reached Methods are filtered by visibility specified in attributes (mutliple visibilities could be specified). A name undefined in a module is not visible in that module and its ancestors. Method names are not duplicated in the result.
Not thread safe.
public ForEachMember ( bool inherited, RubyMethodAttributes attributes, IEnumerable foreignMembers, Action action ) : void
inherited bool
attributes RubyMethodAttributes
foreignMembers IEnumerable
action Action
Résultat void

Freeze() public méthode

public Freeze ( ) : void
Résultat void

GetAutoloadedConstantPath() public méthode

public GetAutoloadedConstantPath ( string name ) : MutableString
name string
Résultat MutableString

GetDisplayName() public méthode

public GetDisplayName ( RubyContext context, bool showEmptyName ) : MutableString
context RubyContext
showEmptyName bool
Résultat MutableString

GetInstanceData() public méthode

public GetInstanceData ( ) : RubyInstanceData
Résultat IronRuby.Runtime.RubyInstanceData

GetMethod() public méthode

public GetMethod ( string name ) : IronRuby.Runtime.Calls.RubyMemberInfo
name string
Résultat IronRuby.Runtime.Calls.RubyMemberInfo

GetMixins() public méthode

public GetMixins ( ) : IronRuby.Builtins.RubyModule[]
Résultat IronRuby.Builtins.RubyModule[]

GetName() public méthode

public GetName ( RubyContext context ) : string
context RubyContext
Résultat string

GetOrCreateSingletonClass() public méthode

public GetOrCreateSingletonClass ( ) : RubyClass
Résultat RubyClass

GetUnderlyingSystemType() public méthode

public GetUnderlyingSystemType ( ) : Type
Résultat System.Type

HasAncestor() public méthode

public HasAncestor ( RubyModule module ) : bool
module RubyModule
Résultat bool

HasAncestorNoLock() public méthode

public HasAncestorNoLock ( RubyModule module ) : bool
module RubyModule
Résultat bool

HideMethod() public méthode

public HideMethod ( string name ) : void
name string
Résultat void

IncludeModules() public méthode

public IncludeModules ( ) : void
Résultat void

InitializeModuleCopy() public méthode

public InitializeModuleCopy ( RubyModule module ) : void
module RubyModule
Résultat void

IsModuleType() public static méthode

Returns true if the CLR type is treated as Ruby module (as opposed to a Ruby class)
public static IsModuleType ( Type type ) : bool
type System.Type
Résultat bool

MakeNestedModuleName() public méthode

public MakeNestedModuleName ( string nestedModuleSimpleName ) : string
nestedModuleSimpleName string
Résultat string

MethodAdded() public méthode

public MethodAdded ( string name ) : void
name string
Résultat void

RemoveClassVariable() public méthode

public RemoveClassVariable ( string name ) : bool
name string
Résultat bool

RemoveMethod() public méthode

public RemoveMethod ( string name ) : bool
name string
Résultat bool

ResolveMethod() public méthode

public ResolveMethod ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
name string
visibility IronRuby.Runtime.Calls.VisibilityContext
Résultat IronRuby.Runtime.Calls.MethodResolutionResult

ResolveMethodForSite() public méthode

public ResolveMethodForSite ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
name string
visibility IronRuby.Runtime.Calls.VisibilityContext
Résultat IronRuby.Runtime.Calls.MethodResolutionResult

ResolveMethodForSiteNoLock() public méthode

public ResolveMethodForSiteNoLock ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
name string
visibility IronRuby.Runtime.Calls.VisibilityContext
Résultat IronRuby.Runtime.Calls.MethodResolutionResult

ResolveMethodNoLock() public méthode

public ResolveMethodNoLock ( string name, VisibilityContext visibility ) : IronRuby.Runtime.Calls.MethodResolutionResult
name string
visibility IronRuby.Runtime.Calls.VisibilityContext
Résultat IronRuby.Runtime.Calls.MethodResolutionResult

ResolveMethodNoLock() public méthode

public ResolveMethodNoLock ( string name, VisibilityContext visibility, MethodLookup options ) : IronRuby.Runtime.Calls.MethodResolutionResult
name string
visibility IronRuby.Runtime.Calls.VisibilityContext
options MethodLookup
Résultat IronRuby.Runtime.Calls.MethodResolutionResult

ResolveSuperMethodNoLock() public méthode

public ResolveSuperMethodNoLock ( string name, RubyModule callerModule ) : IronRuby.Runtime.Calls.MethodResolutionResult
name string
callerModule RubyModule
Résultat IronRuby.Runtime.Calls.MethodResolutionResult

RubyModule() public méthode

public RubyModule ( RubyClass metaModuleClass ) : System
metaModuleClass RubyClass
Résultat System

RubyModule() protected méthode

protected RubyModule ( RubyClass metaModuleClass, string name ) : System
metaModuleClass RubyClass
name string
Résultat System

SetAutoloadedConstant() public méthode

public SetAutoloadedConstant ( string name, MutableString path ) : void
name string
path MutableString
Résultat void

SetClassVariable() public méthode

public SetClassVariable ( string name, object value ) : void
name string
value object
Résultat void

SetConstant() public méthode

public SetConstant ( string name, object value ) : void
name string
value object
Résultat void

SetConstantChecked() public méthode

Sets constant of this module. Returns true if the constant is already defined in the module and it is not an autoloaded constant.
Thread safe.
public SetConstantChecked ( string name, object value ) : bool
name string
value object
Résultat bool

SetDefinedMethodNoEventNoLock() public méthode

public SetDefinedMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void
callerContext RubyContext
name string
method IronRuby.Runtime.Calls.RubyMemberInfo
visibility RubyMethodVisibility
Résultat void

SetMethodNoEvent() public méthode

public SetMethodNoEvent ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
callerContext RubyContext
name string
method IronRuby.Runtime.Calls.RubyMemberInfo
Résultat void

SetMethodNoEventNoLock() public méthode

public SetMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
callerContext RubyContext
name string
method IronRuby.Runtime.Calls.RubyMemberInfo
Résultat void

SetModuleFunctionNoEventNoLock() public méthode

public SetModuleFunctionNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void
callerContext RubyContext
name string
method IronRuby.Runtime.Calls.RubyMemberInfo
Résultat void

SetVisibilityNoEventNoLock() public méthode

public SetVisibilityNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void
callerContext RubyContext
name string
method IronRuby.Runtime.Calls.RubyMemberInfo
visibility RubyMethodVisibility
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

TryGetClassVariable() public méthode

public TryGetClassVariable ( string name, object &value ) : bool
name string
value object
Résultat bool

TryGetClrMember() protected méthode

protected TryGetClrMember ( Type type, string name, bool mapNames, bool unmangleNames, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool
type System.Type
name string
mapNames bool
unmangleNames bool
method IronRuby.Runtime.Calls.RubyMemberInfo
Résultat bool

TryGetConstant() public méthode

public TryGetConstant ( RubyGlobalScope autoloadScope, string name, object &value ) : bool
autoloadScope IronRuby.Runtime.RubyGlobalScope
name string
value object
Résultat bool

TryGetInstanceData() public méthode

public TryGetInstanceData ( ) : RubyInstanceData
Résultat IronRuby.Runtime.RubyInstanceData

TryRemoveConstant() public méthode

public TryRemoveConstant ( string name, object &value ) : bool
name string
value object
Résultat bool

TryResolveClassVariable() public méthode

public TryResolveClassVariable ( string name, object &value ) : RubyModule
name string
value object
Résultat RubyModule

UndefineMethod() public méthode

public UndefineMethod ( string name ) : void
name string
Résultat void

UndefineMethodNoEvent() public méthode

public UndefineMethodNoEvent ( string name ) : void
name string
Résultat void

Property Details

Id public_oe property

public int Id
Résultat int