VB2008从入门到精通(PDF格式英文版)-第122部分
按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!
of; 40–41 ClassLibrary。Class1。HelloWorld() method; 16
Calculator class library; 30–41 Clear() method; 298
Call Stack pane; 117 CLI (mon Language Infrastructure); 42
CallingExample instance; 129 cloning; synchronizing between threads
CallRuntimeImplementation class with; 354–355
library; 316 closing database connections; 382
CallRuntimeImplementation project; 317 CLR (mon language runtime); 20
CallRuntimeImplementation。exe。config CLR numeric types; 43–45
configuration file; 319 cls variable; 167
Canadian taxes; 182 cls。GetDepth() method; 129
CanContinue() method; 110 cls。Method() method; 167
CanContinueSearch() method; 108; 110 cmd type; 12
catch block; 120–125; 127; 133 cmd。Connection property; 383
Catch keyword; 120 ColCells data member; 302
catch statement; 126 collections; 229
catching exceptions; 118–120 collection types; 245
cb variable; 241 storing using linked lists; 204–206
CellState data member; 302 ments; adding to Windows application
CEO (chief executive officer); 116 project; 11
character mapping; 67–68 mon Intermediate Language (CIL); 19
character…by…character parison; 59–60 mon Language Infrastructure (CLI); 42
chief executive officer (CEO); 116 mon language runtime (CLR); 20
CIL (mon Intermediate Language); 19 mon Type System (CTS); 21
City name attribute; 88 pare() method; 59
class hierarchies; 163 pare(String; String) method; 59
inheritance; 188–193 pareTo() method; 54; 55; 59–60; 62
tax concepts; 163–164 piler; 19
tax engine application; 173–182 plexType immutable type; 421
base classes; 174–178 ponent…oriented architecture; 197–228
base functionality; 182–188 kernels; 197–198
base tax account; 180–182 lighting application
Class keyword; 89; 150 building kernels; 199–222
class libraries; 30–41 defining rooms; 222–224
Add() method; 33–35 organizing; 198–199
numbers; puter understanding of; PrivateRoom implementations; 224–225
40–41 ponents; 29; 48; 171–173; 195
class library project; 14–19 conditional statements; 148–150
adding to solutions; 14 。config; 340
calling functionality; 16–17 。config extension; 319
…………………………………………………………Page 458……………………………………………………………
436 ■IN D E X
element; 327; 330 Container class; 286
configuration architecture; decoupling Contains() method; 267
using; 315 convention…based architecture
configuration files; 319–322 decoupling using; 315–316
adding assembly redirection to; 336 implementing; 339
adding dynamic loading items; 321 convention…based architecture; shared
enhancing; 326–331 typed; 337–338
marshaling data; 327–330 conversion methods; 152
reading; 330 adding to ActiveCurrencyTrader class;
reading; 321–322 154–155
XML…based; 319–320 adding to HotelCurrencyTrader class;
configuration identifier; 320 156–157
:configuration: string identifier; 299 Convert() method; 138
ConfigurationException failure; 133 ConvertFrom() method; 154; 156–157;
ConfigurationInfo class; 322; 324 159–161
ConfigurationLoader class; 322–325; 325 ConvertTo() method; 154; 156–7; 159–61
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 organiz