Encapsulates sending messages to CLR interface isolations
deliver the message to the receiving isolation
# File lib/caricature/clr/messenger.rb, line 36 36: def internal_deliver(mode, method_name, return_type, *args, &b) 37: res = nil 38: is_value_type = return_type && return_type != System::Void.to_clr_type && return_type.is_value_type 39: exp = expectations.find(method_name, mode, *args) 40: # exp = expectations.find(method_name.underscore, mode, *args) unless exp 41: exp.event_recorder do |ev_nm, ev_ar, ev_h| 42: recorder.record_event_raise ev_nm, mode, *ev_ar, &ev_h if ev_nm 43: end if recorder && exp 44: bl = record_call(method_name, mode, exp, *args, &b) 45: res = exp.execute *args, &bl if exp 46: res ||= System::Activator.create_instance(return_type) if is_value_type 47: res 48: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.