Parent

Included Modules

Files

Caricature::ClrClassDescriptor

Describes a CLR class type. it collects the properties and methods on an instance as well as on a static level

Public Instance Methods

initialize_class_members_for(klass) click to toggle source

collects all the static members of the provided CLR class type

    # File lib/caricature/clr/descriptor.rb, line 82
82:     def initialize_class_members_for(klass)
83:       clr_type = klass.to_clr_type
84: 
85:       methods = clr_type.get_methods(class_flags) 
86:       properties = clr_type.get_properties(class_flags) 
87: 
88:       @class_members = collect_members_from methods, properties, false
89:     end
initialize_instance_members_for(klass) click to toggle source

collects all the instance members of the provided CLR class type

    # File lib/caricature/clr/descriptor.rb, line 72
72:     def initialize_instance_members_for(klass)
73:       clr_type = klass.to_clr_type
74: 
75:       methods = clr_type.get_methods(instance_flags) 
76:       properties = clr_type.get_properties(instance_flags) 
77: 
78:       @instance_members = collect_members_from methods, properties
79:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.