posts - 37,comments - 7,trackbacks - 0

          Reflection combines with effective object-oriented design to allow programs to be more flexible. Delegation is useful because it allows an object to change behavior at runtime. This change in behavior happens when one delegate that provides one behavior is replaced with another delegate that provides a different behavior. The number of different delegates available defines the amount that this behavior can vary.
             Without reflective mechanisms, the number of delegates is limited to only the set of classes that are included in the system at comple time. Reflection increases this range of variation by allowing the system to use classes that are written later. There are several noteworthy aspects of this relationship:
               
             


          posted on 2005-08-17 10:41 Dave 閱讀(89) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 承德县| 淮滨县| 荣成市| 子洲县| 城口县| 桂阳县| 息烽县| 德州市| 佛学| 金门县| 拉孜县| 辽阳市| 泰安市| 凭祥市| 沧州市| 南丰县| 虞城县| 彭州市| 禄丰县| 崇礼县| 中卫市| 共和县| 丹凤县| 蒙山县| 田林县| 孝昌县| 金溪县| 馆陶县| 祁阳县| 大宁县| 宁夏| 城市| 习水县| 行唐县| 新宁县| 大理市| 潞城市| 贵溪市| 大竹县| 西城区| 兴和县|