按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!
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