IronRuby.Builtins.RubyModule.ForEachMember C# (CSharp) Метод

ForEachMember() публичный Метод

public ForEachMember ( bool inherited, RubyMethodAttributes attributes, Action action ) : void
inherited bool
attributes RubyMethodAttributes
action Action
Результат void
        public void ForEachMember(bool inherited, RubyMethodAttributes attributes, Action<string/*!*/, RubyModule/*!*/, RubyMemberInfo/*!*/>/*!*/ action) {
            ForEachMember(inherited, attributes, null, action);
        }

Same methods

RubyModule::ForEachMember ( bool inherited, RubyMethodAttributes attributes, IEnumerable foreignMembers, Action action ) : void

Usage Example

Пример #1
0
        internal static RubyArray /*!*/ GetMethods(RubyModule /*!*/ self, bool inherited, RubyMethodAttributes attributes)
        {
            var result = new RubyArray();

            self.ForEachMember(inherited, attributes, delegate(string /*!*/ name, RubyMemberInfo /*!*/ member) {
                result.Add(MutableString.Create(name));
            });
            return(result);
        }
All Usage Examples Of IronRuby.Builtins.RubyModule::ForEachMember
RubyModule