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)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 泰兴市| 叙永县| 盐池县| 禹城市| 凭祥市| 山东省| 贡觉县| 黄浦区| 临桂县| 余庆县| 宣武区| 即墨市| 应城市| 新蔡县| 鹤壁市| 永平县| 武川县| 阿克苏市| 湖口县| 如东县| 阜平县| 班玛县| 永福县| 浙江省| 八宿县| 金寨县| 吴旗县| 沈丘县| 乐都县| 九江市| 嘉黎县| 高阳县| 沙洋县| 定安县| 仲巴县| 辛集市| 乡宁县| 莲花县| 广饶县| 垦利县| 江都市|