Свойство | Тип | Описание | |
---|---|---|---|
Id | int |
Метод | Описание | |
---|---|---|
AddMethod ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
AddMethodAlias ( string newName, string oldName ) : void | ||
CreateAnonymousModule ( IronRuby.Runtime.RubyScope scope, |
||
EnumerateClassVariables ( Func |
||
EnumerateConstants ( Func |
||
EnumerateMethods ( Func |
||
ExpandMixinsNoLock ( |
||
ForEachAncestor ( bool inherited, bool>.Func |
||
ForEachClassVariable ( bool inherited, Func |
||
ForEachConstant ( bool inherited, Func |
||
ForEachInstanceMethod ( bool inherited, Func |
||
ForEachMember ( bool inherited, RubyMethodAttributes attributes, Action |
||
ForEachMember ( bool inherited, RubyMethodAttributes attributes, IEnumerable |
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 ( ) : |
||
GetMethod ( string name ) : IronRuby.Runtime.Calls.RubyMemberInfo | ||
GetMixins ( ) : IronRuby.Builtins.RubyModule[] | ||
GetName ( RubyContext context ) : string | ||
GetOrCreateSingletonClass ( ) : |
||
GetUnderlyingSystemType ( ) : |
||
HasAncestor ( |
||
HasAncestorNoLock ( |
||
HideMethod ( string name ) : void | ||
IncludeModules ( ) : void | ||
InitializeModuleCopy ( |
||
IsModuleType ( |
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, |
||
ResolveMethodForSite ( string name, |
||
ResolveMethodForSiteNoLock ( string name, |
||
ResolveMethodNoLock ( string name, |
||
ResolveMethodNoLock ( string name, |
||
ResolveSuperMethodNoLock ( string name, |
||
RubyModule ( |
||
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 ( |
||
TryGetInstanceData ( ) : |
||
TryRemoveConstant ( string name, object &value ) : bool | ||
TryResolveClassVariable ( string name, object &value ) : |
||
UndefineMethod ( string name ) : void | ||
UndefineMethodNoEvent ( string name ) : void |
Метод | Описание | |
---|---|---|
EnumerateClrMembers ( |
||
RubyModule ( |
||
TryGetClrMember ( |
Метод | Описание | |
---|---|---|
AddDependentClass ( |
||
AddExtensionMethodsNoLock ( List |
||
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 ( |
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 ( |
||
ExpandMixinsNoLock ( |
||
ForEachAncestor ( bool>.Func |
||
ForEachDeclaredAncestor ( bool>.Func |
||
ForEachRecursivelyDependentClass ( bool>.Func |
Calls given action on all modules that are directly or indirectly nested into this module.
|
|
GetImplementedInterfaces ( ) : List |
||
GetMethods ( ) : RubyMemberInfo>>.IEnumerable |
||
GetSuperClass ( ) : |
||
GetUninitializedAncestors ( bool methods ) : List |
||
IDuplicable ( RubyContext context, bool copySingletonMembers ) : object | ||
IRubyObject ( object other ) : bool | ||
IRubyObject ( ) : int | ||
IRubyObject ( ) : string | ||
IncludeLibraryModule ( Action |
||
IncludeModulesNoLock ( |
||
IncludeTraitNoLock ( Action |
||
IncrementMethodVersion ( ) : void | ||
InitializeClassVariableTable ( ) : void | ||
InitializeConstantTableNoLock ( ) : void | ||
InitializeConstantsNoLock ( ) : void | ||
InitializeConstantsNoLock ( IList |
||
InitializeDependencies ( ) : void | ||
InitializeImmediateClass ( |
||
InitializeImmediateClass ( |
||
InitializeMembersFrom ( |
||
InitializeMethodTableNoLock ( ) : void | ||
InitializeMethodsNoLock ( ) : void | ||
InitializeMethodsNoLock ( IList |
||
InitializeNewMixin ( |
||
InvalidateGroupsInDependentClasses ( string methodName, int maxLevel ) : int | ||
IsMethodVisible ( IronRuby.Runtime.Calls.RubyMemberInfo method, |
||
IsPartiallyInstantiated ( |
||
IsSuperClassAncestor ( |
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 ( |
||
Mutate ( ) : void | ||
OwnedMethodCachedInSite ( ) : void | ||
PrepareExtensionMethodsUpdate ( List |
||
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, |
||
RubyModule ( RubyContext context, string name, Action |
||
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 ( |
Get constant defined in this module.
|
|
TryGetConstantNoAutoloadCheck ( string name, IronRuby.Runtime.ConstantStorage &storage ) : bool | ||
TryGetConstantNoAutoloadNoInit ( string name, IronRuby.Runtime.ConstantStorage &storage ) : bool | ||
TryGetConstantNoLock ( |
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, |
||
TryRemoveConstantNoLock ( string name, object &value ) : bool | ||
TryResolveConstant ( RubyContext callerContext, |
||
TryResolveConstant ( |
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 ) : |
||
TryResolveConstantNoLock ( |
Get constant defined in this module or any of its ancestors.
|
public AddMethod ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
Результат | void |
public AddMethodAlias ( string newName, string oldName ) : void | ||
newName | string | |
oldName | string | |
Результат | void |
public static CreateAnonymousModule ( IronRuby.Runtime.RubyScope scope, |
||
scope | IronRuby.Runtime.RubyScope | |
body | ||
self | ||
Результат | object |
public EnumerateClassVariables ( Func |
||
action | Func |
|
Результат | bool |
protected EnumerateClrMembers ( |
||
type | ||
Результат | IEnumerable |
public EnumerateConstants ( Func |
||
action | Func |
|
Результат | bool |
public EnumerateMethods ( Func |
||
action | Func |
|
Результат | bool |
public static ExpandMixinsNoLock ( |
||
superClass | ||
modules | ||
Результат | IronRuby.Builtins.RubyModule[] |
public ForEachAncestor ( bool inherited, bool>.Func |
||
inherited | bool | |
action | bool>.Func | |
Результат | bool |
public ForEachClassVariable ( bool inherited, Func |
||
inherited | bool | |
action | Func |
|
Результат | void |
public ForEachConstant ( bool inherited, Func |
||
inherited | bool | |
action | Func |
|
Результат | void |
public ForEachInstanceMethod ( bool inherited, Func |
||
inherited | bool | |
action | Func |
|
Результат | void |
public ForEachMember ( bool inherited, RubyMethodAttributes attributes, Action |
||
inherited | bool | |
attributes | RubyMethodAttributes | |
action | Action |
|
Результат | void |
public ForEachMember ( bool inherited, RubyMethodAttributes attributes, IEnumerable |
||
inherited | bool | |
attributes | RubyMethodAttributes | |
foreignMembers | IEnumerable |
|
action | Action |
|
Результат | void |
public GetAutoloadedConstantPath ( string name ) : MutableString | ||
name | string | |
Результат | MutableString |
public GetDisplayName ( RubyContext context, bool showEmptyName ) : MutableString | ||
context | RubyContext | |
showEmptyName | bool | |
Результат | MutableString |
public GetInstanceData ( ) : |
||
Результат |
public GetMethod ( string name ) : IronRuby.Runtime.Calls.RubyMemberInfo | ||
name | string | |
Результат | IronRuby.Runtime.Calls.RubyMemberInfo |
public GetMixins ( ) : IronRuby.Builtins.RubyModule[] | ||
Результат | IronRuby.Builtins.RubyModule[] |
public GetName ( RubyContext context ) : string | ||
context | RubyContext | |
Результат | string |
public GetOrCreateSingletonClass ( ) : |
||
Результат |
public GetUnderlyingSystemType ( ) : |
||
Результат |
public HasAncestor ( |
||
module | ||
Результат | bool |
public HasAncestorNoLock ( |
||
module | ||
Результат | bool |
public InitializeModuleCopy ( |
||
module | ||
Результат | void |
public static IsModuleType ( |
||
type | ||
Результат | bool |
public MakeNestedModuleName ( string nestedModuleSimpleName ) : string | ||
nestedModuleSimpleName | string | |
Результат | string |
public RemoveClassVariable ( string name ) : bool | ||
name | string | |
Результат | bool |
public RemoveMethod ( string name ) : bool | ||
name | string | |
Результат | bool |
public ResolveMethod ( string name, |
||
name | string | |
visibility | ||
Результат | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodForSite ( string name, |
||
name | string | |
visibility | ||
Результат | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodForSiteNoLock ( string name, |
||
name | string | |
visibility | ||
Результат | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodNoLock ( string name, |
||
name | string | |
visibility | ||
Результат | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodNoLock ( string name, |
||
name | string | |
visibility | ||
options | MethodLookup | |
Результат | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveSuperMethodNoLock ( string name, |
||
name | string | |
callerModule | ||
Результат | IronRuby.Runtime.Calls.MethodResolutionResult |
public RubyModule ( |
||
metaModuleClass | ||
Результат | System |
protected RubyModule ( |
||
metaModuleClass | ||
name | string | |
Результат | System |
public SetAutoloadedConstant ( string name, MutableString path ) : void | ||
name | string | |
path | MutableString | |
Результат | void |
public SetClassVariable ( string name, object value ) : void | ||
name | string | |
value | object | |
Результат | void |
public SetConstant ( string name, object value ) : void | ||
name | string | |
value | object | |
Результат | void |
public SetConstantChecked ( string name, object value ) : bool | ||
name | string | |
value | object | |
Результат | bool |
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 | |
Результат | void |
public SetMethodNoEvent ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
Результат | void |
public SetMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
Результат | void |
public SetModuleFunctionNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
Результат | void |
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 | |
Результат | void |
public TryGetClassVariable ( string name, object &value ) : bool | ||
name | string | |
value | object | |
Результат | bool |
protected TryGetClrMember ( |
||
type | ||
name | string | |
mapNames | bool | |
unmangleNames | bool | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
Результат | bool |
public TryGetConstant ( |
||
autoloadScope | ||
name | string | |
value | object | |
Результат | bool |
public TryGetInstanceData ( ) : |
||
Результат |
public TryRemoveConstant ( string name, object &value ) : bool | ||
name | string | |
value | object | |
Результат | bool |
public TryResolveClassVariable ( string name, object &value ) : |
||
name | string | |
value | object | |
Результат |
public UndefineMethod ( string name ) : void | ||
name | string | |
Результат | void |
public UndefineMethodNoEvent ( string name ) : void | ||
name | string | |
Результат | void |