Describes a CLR class type. it collects the properties and methods on an instance as well as on a static level
collects all the static members of the provided CLR class type
# File lib/caricature/clr/descriptor.rb, line 147 147: def initialize_class_members_for(klass) 148: clr_type = klass.to_clr_type 149: 150: context = {} 151: context[:methods] = clr_type.get_methods(class_flags) 152: context[:properties] = clr_type.get_properties(class_flags) 153: context[:events] = clr_type.get_events(class_event_flags) 154: 155: @class_members = build_member_collections context, false 156: end
collects all the instance members of the provided CLR class type
# File lib/caricature/clr/descriptor.rb, line 135 135: def initialize_instance_members_for(klass) 136: clr_type = klass.to_clr_type 137: 138: context = {} 139: context[:methods] = clr_type.get_methods(instance_flags) 140: context[:properties] = clr_type.get_properties(instance_flags) 141: context[:events] = clr_type.get_events(event_flags) 142: 143: @instance_members = build_member_collections context 144: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.