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

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

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



ReaderWriterLock type; 361                               returnArray( c1) array element; 108 

                                                         retval variable; 130 


…………………………………………………………Page 468……………………………………………………………

446       ■IN D E X 



          room groupings                                           server…side spreadsheets 

             adding; 213–215                                           Debug; 292–293 

             adding rooms to; 219–220                                  IWorkbook; 298–301 

             finding; 215                                              IWorksheetBase; 294 

             implementing; 212–213                                 ServerSideSpreadsheet class library; 292 

             performing operations on; 220                         Set code block; 142 

          RoomGrouping class; 213                                  set operations; 412–413 

          RoomGroupingIterator() method; 217–218                   SetCellState() method; 309 

          Rooms data member; 214                                   SetTemperature() method; 144 

          _root array element; 105                                 setters; 142 

          root XML node; 320                                       Shape。CalculateArea method; 170 

          RootNodes data member; 97; 100                           shared data members; 96 

          Run() method; 338                                        shared methods; 96 

          RunAll() method; 118–119; 124; 242                       Shared modifier; 96 

          running; 110–111                                         shared property; 325 

             ConsoleApplication project; 13                        shared typed convention…based architecture;  

             Windows application project; 7–8                                337–338 

          runtime configuration file; 313                          SheetCoordinate type; 295 

                                                                   shells 

          ■S                                                           building; 252 

          safe code; 21 

                                                                       echo programs; 252–253 

          sandboxing code; 126                                         implementing; 272 

          saving solutions; Windows application                        implementing stream reading/writing; 257 

                   project; 6–7 

                                                                       reading/writing to streams; 257 

          SByte type; 44 

                                                                   Short type; 44 

          scope; 17 

                                                                   signed; 44 

          scope modifiers; 146–148 

                                                                   signing assemblies; 317–318 

          search algorithm; 79。 See depth…first search  

                                                                   Single type; 44 

                   algorithm 

                                                                   single…core microprocessor; 344 

          SearchAlgorithm class; 99 

                                                                   single…line language; Visual Basic as; 11 

          SearchAlgorithm。DepthFirstFindRoute()  

                                                                   singletons; dynamically instantiating types  

                   method; 99 

                                                                             using; 324–325 

          SearchSolution project; 89 

                                                                   Size property; IDbDataParameter type; 384 

          Second Element subelement; 320 

                                                                   software development。 See development;  

           node; 327 

                                                                             software 

          SELECT mand; 385; 390 

                                                                   solutions 

          selecting data; 408–409 

                                                                       adding class library project to; 14 

          Serializable attribute; 274 

                                                                       adding console application project to; 12 

          serialization; 274 

                                                                       defined; 4 

             custom; 277–278 

                                                                       navigating user controls of; 12 

             declaring data members as  

                                                                       saving; 6–7 

                   nonserializable; 278 

                                                                   SortedDictionary class; 246 

             separating data objects from action  

                                                                   sorting results; 411–412 

                   objects; 278 

                                                                   source code level; 27 

          serializing; 341 

                                                                   SourceColumn property; IDbDataParameter  

                                                                             type; 384 


…………………………………………………………Page 469……………………………………………………………

                                                                                                       ■I N D E X     447 



special notation; 191                                     structural programming techniques; 197 

specialized functionality; overriding for; 176            Structure keyword; 89 

specifics parameter; 184                                  structures; declaring; 81 

Split() method; 264; 293                                  substrings; finding; 61 

_spread data member; 156                                  synchronization abstractions; 368 

spread parameter; 156                                     synchronizing; between threads; 349–355 

SpreadSheet class; 292                                       with cloning; 354–355 

SQL Server Express Edition driver; 377                       exclusive locks; 352–354 

SqlCemand interface; 386                               SyncLock keyword; 358 

SqlCeConnection interface; 386                            syncRoot object; 353 

SqlCeParameter interface; 386                             System namespace; 127; 368 

SqlCeParameter type; 383                                  System。Action class; 364 

SquareImpl class; 172                                     System。Collections namespace; 231 

Stack class; 230                                          System。Collections。ObjectModel。ReadOnlyC 

Stack lists; 246–247                                                ollection type; 350 

stack unwinding; 123–126                                  System。Collections。ReadOnlyCollection  

   Finally keyword; 124; 125                                        type; 351 

   sandboxing code; 126                                   System。configuration reference; 316 

Start() method; 346                                       System。Configuration。ConfigurationSection  

start parameter; 103–104                                            subclass; 327 

startNodes variable; 100                                  System。Console。WriteLine() method; 16 

state; creating threads with                              SystemException type; 129 

   thread parameters; 348–349                             System。Runtime。Serialization。Formatters。Bi 

   ThreadStart delegate; 347                                        nary。BinaryFormatter type; 275 

storing collections using linked lists; 204–206           System。Threading namespace; 345 

String class; 59                                          System。Threading。ReaderWriterLock  

                                                                    class; 359 

string types; 51–75 

   languages/cultures; 68; 74                             ■T 

      numbers; 69–72                                      table data; adding to relational databases;  

      setting in Windows; 68                                        382–384 

   overview; 55–60                                        table variable; 392 

      character…by…character parison;                  table。Fill() method; 392 

          59–60                                           tables 

      objects; 56–59                                         adding to databases; 378–381 

   software development; organizing; 51–52                      draws table; 379–380 

   translator application; 52; 68                               persons table; 380–381 

      character mapping; 67–68                                  winners table; 381 

      creating test application; 53–55                       building relations between; 387–391 

      creating Translator class; 52–53                       relational database; 371–372 

      quoting strings; 65–66                                 selecting data from; 385 

      responsibility; 55                                  task instance; 348 

      translating hello; 53                               Task Manager window; 342 

      whitespace; 60; 65                                  task。MethodToRun() method; 348 

StringBuilder class; 75                                   tax concepts; 163–164 

StringReader type; 264                                    tax engine; 181 


…………………………………………………………Page 470……………………………………………………………

448       ■IN D E X 



          tax engine application; 173                             TestInsert() method; 211 

             base class; 174–178                                  TestLanguageTranslator project; 53 

                abstracting instantiations with factories;        TestServerSideSpreadsheet class library; 291 

                   177–178                                        TestSimple() method; 366 

                overriding for specialized                        TestSimpleAddition() method; 38 

                   functionality; 176                             TestTax solution; 164 

             base functionality; 182–188                          text streams; converting into binary streams;  

                assigning state; 183–184                                    274–275 

                implementing ideas with specifics;                Text2Binary application; 249 

                   184–187                                        Text2Binary。exe mand; 270 

             base tax account; 180–182                            TextBox control; 9 

             default implementations; 178–180                     TextProcessor application; 249–250; 260–268 

             defining interfaces; 173–174                             deciphering format; 263–265 

             organizing; 164                                          duplicate dates; 267–268 

          taxable ine; 163–164                                     empty lines of text; 267 

          TaxableAmount property; 179                                 fixing data stream; 265–268 

          _taxableRate data member; 179                               incorrect data format; 267 

          TaxAccount class; 183–184                                   too many fields; 267 

          TaxDeduction class; 180                                 TextProcessor mand Lines; 252 

          TaxEngine class; 185                                    TextProcessor。exe mand; 252–254; 269 

          TaxEngine。CalculateTaxToPay() method; 176               TextProcessor。Main(); 254 

          TaxIne class; 180                                    TextReader types; 270 

          TDD (test…driven development); 212                      TextWriter types; 270 

          Temperature property; 143–144                           Third Element subelement; 320 

          TestCallingExample() method; 130                        Thread instances; 348 

          TestCurrencyTrader class; 146; 148–152                  thread parameters; 348–349 

          TestCurrencyTrader console testing                      thread pool; 366 

                   application; 137                               Thread type; 347 

          test…driven architecture; 165–173                       thread1。Start() method; 346 

             ponents; 171–173                                  thread2。Start() method; 346 

             inheritance; 168–170                                 Thread。CurrentThread。CurrentCulture  

             Visual Basic interfaces; 166–168                               property; 72 

          test…driven development (TDD); 212                      ThreadedTask type; 348 

          TestGetValue() method; 131                              Thread。ManagedThreadId property; 366 

          testing                                                 ThreadPoolProducerConsumer  

             Add() method; 35                                               constructor; 366 

                adding test projects; 36                          ThreadPoolProducerConsumer type;  

                testing addition of two large                               365–366 

                   numbers; 38                                    ThreadPool。QueueUserWorkItem()  

                testing simple addition; 37–38                              method; 366 

             creating test applications; 53–55                    threads; 344–358; 368 

             defining algorithm tests; 98–102                         creating; 345–346 

                getting FoundRoute data member;                       creating with state; 347 

                   100–102                                              thread parameters; 348–349 

                magic types; 99–100                                     ThreadStart delegate; 347 

             linked lists; 208–212                                    deadlocks; 355 

             writing tests before writing code; 63–65 


…………………………………………………………Page 471……………………………………………………………

                                                                                                    ■I N D E X     449 



   synchronizing between; 349–355                           dynamically instantiating 

      with cloning; 354–355                                    using instantiated types; 325–326 

      exclusive locks; 352–354                                 using singletons; 324–325 

   waiting for end of; 346–347                              Equals() method; 282–283 

Thread。Sleep() method; 349; 358–359                         GetHashCode() method; 279–282 

ThreadStart delegate; 346–347; 347                       Type…safe; 34 

throughput; 368 

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