友情提示:如果本网页打开太慢或显示不完整,请尝试鼠标右键“刷新”本网页!
富士康小说网 返回本书目录 加入书签 我的书架 我的书签 TXT全本下载 『收藏到我的浏览器』

VB2008从入门到精通(PDF格式英文版)-第82部分

快捷操作: 按键盘上方向键 ← 或 → 可快速上下翻页 按键盘上的 Enter 键可回到本书目录页 按键盘上方向键 ↑ 可回到本页顶部! 如果本书没有阅读完,想下次继续接着阅读,可使用上方 "收藏到我的浏览器" 功能 和 "加入书签" 功能!



          ConfigurationLoader。Instance shared                     ConvertToTextField() method; 160 

                   property; 325                                  ConvertValue() method; 151; 154–5 

          ConfigurationManager class; 322; 324                    ConvertValueInverse() method; 151; 154–155 

          ConfigurationProperty property; 328                     Coordinates attribute; 88 

          ConfigurationPropertyOptions。IsRequired                 CreateCapitalGain() method; 187 

                   parameter; 328                                 CreateDeduction() method; 175 

          ConfigurationSection class; 328                         CreateIne() method; 175 

          configuring Data Source; 377–378                        CreateInstance() method; 324 

          connecting to relational databases; 382                 CreatePrivateRoom() method; 225 

          connection variable; 382                                CreatePublicRoom() method; 225 

          Connections array; 90–93                                CreateSurtaxTaxEngine() method; 178 

          Connections attribute; 88                               CreateTaxAccount() method; 175;  

          Connections data member; 89–92                                   182–185; 187 

          Connections definitions; 111                            CreatingBuilding() method; 225 

          console application; 4                                  cross…referencing; 315 

          console application project; 12                         CTS (mon Type System); 21 

             adding to solutions; 12                              CultureInfo instance; 72 

             “hello; world”; 13                                   cultures; 68–74 

             setting startup project; 13                             numbers; 69–72 

          console testing application; 164                           setting in Windows; 68 

          ConsoleApplication project; 13                          currency converters 

          Console。WriteLine() method; 16; 303                        ActiveCurrencyTrader class; 152–155 

          #Const hashcode; 157                                          adding constructors to; 152–153 

          Const keyword; 18                                             adding conversion methods to; 154–155 

          constants; 17–19                                              defining informational read…only  

          constructors; 90                                                 properties; 153–154 

             adding to ActiveCurrencyTrader class;                   HotelCurrencyTrader class; 155–157 

                   152–153                                              adding constructors to; 155–156 

             adding to HotelCurrencyTrader class;                       adding conversion methods to; 156–157 



                   155–156 


…………………………………………………………Page 459……………………………………………………………

                                                                                                    ■I N D E X     437 



currency exchange application                            dataset variable; 392 

   organizing; 137                                       dataset。draws data member; 392 

   writing tests for; 137–152                            datasets; defined; 387 

      base classes; 138–139; 151–152                     Date。Parse() method; 73 

      inheritance; 139–141; 145–146                      datetime type; 380 

      scope modifiers; 146–148                           DbType property; IDbDataParameter  

      structural code; 138                                        type; 384 

      verification; 148–151                              deadlocks; 355; 369 

      Visual Basic properties; 141–144                   Debug flag; 293 

currency spreads; 136–137                                debug mode; 158 

CurrencyTrader class; 139; 142; 144–159                  debugger feature; 116–117 

CurrencyTrader library ponent; 137                    Decimal type; 44; 47 

CurrencyTrader。_exchangeRate data                        decisions; 77–113 

         member; 147                                        custom…defined types; 81–86 

CurrencyTrader。ConvertValue() method; 155                      declaring structs/classes; 81 

CurrencyTrader。ConvertValueInverse()                           declaring Structures/classes; 81 

         method; 155                                           value type constraints; 81–86 

CurrentCulture property; 74                                 depth…first search algorithm; 77–81;  

currExchange parameter; 153                                       89–111 

CurrVersion variable; 311                                      data structures; 89 

custom optimization; 21                                        defining test for; 98–102 

custom…defined types; 81–86                                    implementing; 102–110 

   declaring structs/classes; 81                               organizing; 87–88 

   objects; 56–59                                              running; 110–111 

   value types; constraints; 81–86                       decoupling; 315–316 

                                                         decoupling code; 98 

■D 

                                                         de…DE culture information; 72 

DAO (Data Access Object); 375 

                                                         deductions; 164 

data class; 322 

                                                         default event; 11 

data member scopes; 135 

                                                         default implementations; 178–180 

data members; shared; 96 

                                                            test…driven architecture; 165–173 

Data Source; configuring; 377–378 

                                                               ponents; 171–173 

data streams; 249 

                                                               inheritance; 168–170 

data structure; 89 

                                                               Visual Basic interfaces; 166–168 

   Node elements 

                                                            type casting; 194 

      initializing; 90–91 

                                                         Default keyword; 215 

      instantiating; 90–91 

                                                         default properties; 215 

      switching to classes to define; 94 

                                                         defining 

   referencing using value types; 91–94 

                                                            interfaces; 173–174; 199–203 

   shared data members; 96 

                                                               INoRemoteControlRoom; 201–202 

   shared methods; 96 

                                                               IRemoteControlRoom; 202–203 

database normalization; 373 

                                                               IRoom placeholder; 200–201 

database relations; 373–375 

                                                               ISensorRoom; 203 

DatabaseConsoleEx console project; 377 

                                                            kernels as interfaces; 220–222 

Dataset Designer; 387–392 

                                                         Definitions assembly; 222 

   building relations between tables; 387–391 

                                                         Definitions class library; 316 

   generated code; 391–392 


…………………………………………………………Page 460……………………………………………………………

438       ■IN D E X 



          delegates; 241; 248                                    draws table; 379–380 

          deleting data from relational databases; 386           drawsTableAdapter interface; 391 

          dependencies; 166                                      dynamic loading; 313–340 

          dependentAssembly element; 336                            of assemblies; 322–331 

          depth data member; 124                                       dynamically instantiating types;  

          depth…first search algorithm; 77–81; 80                         322–326 

             organizing; 87–88                                         enhancing configuration files; 326–331 

             writing code; 89–111                                   of base classes; 339 

                data structure; 89                                  configuration architecture; 313–315 

                defining test; 98–102                               configuration files; 319–322 

               implementing; 102–110                                   adding dynamic loading items; 321 

          DepthFirstFindRoute() method; 99                             reading; 321–322 

          DepthFirstSearch class; 99–104                               XML…based; 319–320 

          DepthFirstSearch() method; 99                             convention architecture; 315–316 

          DepthFirstSearch object; 99                               convention…based architecture;  

          DepthFirstSearch。root data member; 103                          implementing; 339 

          Derived; Derived。Method() method; 189                     of interface types; 339 

          Derived1。Method() method; 193                             setting up projects; 316–318 

          Description data member; 214                              shared typed convention…based  

          deserialization; 274                                            architecture; implementing; 337–338 

          Deserialize() method; 276                                 of strongly named assemblies; 331–336 

          design pattern; 139                                    dynamically instantiating types; 322–326 

          designing relational databases; 377–381                   using instantiated types; 325–326 

          Destroy() method; 396–398; 399; 405                       using singletons; 324–325 



          deterministic code; 357 

                                                                 ■E 

          development; software; 25                              easyname attribute; 328 

             focusing; 27–30                                     “easyname” parameter; 328 

             organizing; 26; 51–52 

                                                                 EasyName property; 328 

          Devspace。Trader。mon class library;                  elements collection; 349 

                   291–292 

                                                                 elements variable; 235 

          Dictionary _availableTypes instance  

                                                                 Else statement; 106 

                   constructor; 325 

                                                                 ElseIf statement; 106 

          Dictionary data member; 324 

                                                                 EmbeddedMyType type; 227 

          Dimension() method; 295; 309 

                                                                 end parameter; 103–105 

          DimLight() method; 202 

                                                                 EngineCreator class; 178 

          DisplayHelp() method; 259 

                                                                 EngineCreator。CreateSurtaxTaxEngine()  

          DisplayMessageText() method; 18 

                                                                          method; 178 

          DivideByZeroException type; 128 

                                                                 EnglishName property; 72 

          DoAsyncRead() method; 368 

                                                                 enhancing configuration files; 326–331 

          DoIt() method; 337 

                                                                    marshaling data; 327–330 

          Double type; 42; 44; 47; 81 

                                                                    reading; 330 

          double value; 309 

                                                                 Enqueue() method; 366 

          Double。Parse() method; 305 

                                                                 Enter() method; 358 

          DowngradeFromWriterLock() method; 359 

                                                                 Equals() method; 56–57; 268; 279 

          downloading Visual Basic Express; 2 

                                                                 errors; 116 


…………………………………………………………Page 461……………………………………………………………

                                                                                                   ■I N D E X     439 



euros (EUR); 136                                        Finally keyword; 120; 124; 125 

events; 10                                              FindNextLeg() method; 104–105; 110 

Example class; 428                                      FindRoomGrouping() method; 216 

ExampleImplementation interface; 167                    FindRoute() method; 99–103 

ExampleImplementation。Method()                          First Element subelement; 320 

         method; 167                                    fixed…dimension arrays; 289 

ExampleMgr code; 423                                    floating…point; 44 

Exception() constructor; 121                            For Each loop; 392 

Exception type; 126–128                                 For loop; 104–105 

exceptions; 115–134                                     forced type cast; 194 

   catching; 118–120                                    foreign exchange; 136 

   debugger feature; 116–117                            Form1_Load() method; 364 

   exception…safe code; 129–133                         Form1。Designer。vb file; 6 

      default state; 131–132                            Form1。vb file; 12 

      defensive coding; 129–131                         Form1。vb item; 5 

      processing warning errors; 133                    FormatException type; 128 

   filtering; 126–129                                   Form。Invoke() method; 364 

   handlers; 117–129; 121                               FoundRoute data member; 100–102 

      catching exceptions; 118–120                      foundRoute variable; 100 

      filtering exceptions; 126–129                     foundRoute1 variable; 101 

      implementing; 120–123                             foundRoute2 variable; 101 

      stack unwinding; 123–126                          fromCurrency parameter; 153 

   overview; 115–116                                    _fromCurrency property; 153 

   stack unwinding; 123–126                             Func(of ) type; 302 

      Finally keyword; 124; 125                         functionality 

      sandboxing cod
返回目录 上一页 下一页 回到顶部 11 11
快捷操作: 按键盘上方向键 ← 或 → 可快速上下翻页 按键盘上的 Enter 键可回到本书目录页 按键盘上方向键 ↑ 可回到本页顶部!
温馨提示: 温看小说的同时发表评论,说出自己的看法和其它小伙伴们分享也不错哦!发表书评还可以获得积分和经验奖励,认真写原创书评 被采纳为精评可以获得大量金币、积分和经验奖励哦!