VB2008从入门到精通(PDF格式英文版)-第123部分
按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!
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