TypeDescriptor
describes clr interfaces. Because CLR interfaces can’t have static members this descriptor does not collect any class members
this method is empty because an interface can’t have static members
# File lib/caricature/clr/descriptor.rb, line 21 def initialize_class_members_for(klass); end
collects instance members on this interface it will collect properties, methods and property setters
# File lib/caricature/clr/descriptor.rb, line 9 def initialize_instance_members_for(klass) clr_type = klass.to_clr_type properties = clr_type.collect_interface_properties methods = clr_type.collect_interface_methods @instance_members += methods.collect { |mi| MemberDescriptor.new(mi.name.underscore, mi.return_type) } @instance_members += properties.collect { |pi| MemberDescriptor.new(pi.name.underscore, pi.property_type) } @instance_members += properties.select { |pi| pi.can_write }.collect { |pi| MemberDescriptor.new("#{pi.name.underscore}=", nil) } end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.