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