友情提示:如果本网页打开太慢或显示不完整,请尝试鼠标右键“刷新”本网页!
VB2008从入门到精通(PDF格式英文版)-第116部分
快捷操作: 按键盘上方向键 ← 或 → 可快速上下翻页 按键盘上的 Enter 键可回到本书目录页 按键盘上方向键 ↑ 可回到本页顶部! 如果本书没有阅读完,想下次继续接着阅读,可使用上方 "收藏到我的浏览器" 功能 和 "加入书签" 功能!
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
■U
Throw keyword; 121
UInteger type; 44
time slicing; 342–344; 368
ULong type; 44
toCurrency parameter; 153
UML (Unified Modeling Language); 26
_toCurrency property; 153
unboxing; 233
Tokenize() method; 132
underflow; 41
ToString() method; 56–57; 73; 209; 264;
underscore (_) character; 11
307–308; 309; 312
Unicode; 68
total variable; 34
TraderBaseClass class; 302 Unified Modeling Language (UML); 26
TranslateHello() method; 53; 54–55; 61 uniqueidentifier type; 381
快捷操作: 按键盘上方向键 ← 或 → 可快速上下翻页 按键盘上的 Enter 键可回到本书目录页 按键盘上方向键 ↑ 可回到本页顶部!
温馨提示: 温看小说的同时发表评论,说出自己的看法和其它小伙伴们分享也不错哦!发表书评还可以获得积分和经验奖励,认真写原创书评 被采纳为精评可以获得大量金币、积分和经验奖励哦!