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 閱讀(91) 評論(0)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 镇平县| 嘉峪关市| 武威市| 霸州市| 娄底市| 锡林郭勒盟| 拜城县| 游戏| 呼伦贝尔市| 宁强县| 钟山县| 绥化市| 永春县| 四川省| 屏山县| 神农架林区| 响水县| 湖北省| 新乡市| 桐庐县| 靖江市| 石柱| 湟源县| 鄂伦春自治旗| 渭源县| 义乌市| 长寿区| 饶河县| 南部县| 托克逊县| 合江县| 曲麻莱县| 石景山区| 明水县| 云梦县| 博爱县| 永福县| 吉安县| 开远市| 白山市| 垦利县|