G


GAC (global assembly cache)

adding publisher policy assembly to, 516–517

application deployment and, 445

Assembly Cache Viewer and, 498–499

deleting assemblies from, 508

gacutil.exe, 500, 508

overview of, 497

gacutil.exe

GAC (global assembly cache) and, 508

options, 500

registering COM assemblies, 778

garbage collection

block statement and, 855–856

IL and, 13–14

managed memory and, 324–325, 763

unmanaged types and, 334

gcnew operator, allocating value type in C++/CLI, 1625

GCs (global catalogs), Active Directory, 1587–1588

GDI+ (graphical device interface), 1073–1132

brushes, 1098–1099

calculating item and document sizes, 1118–1119

clipping region, 1080–1082

colors in, 1095–1097

coordinate transforms, 1121–1122

debugging, 1087–1088

device contexts and graphics object, 1075–1076

device coordinates, 1094–1095

displaying images, 1103–1105

drawing scrollable windows, 1088–1094

drawing shapes and lines, 1076–1079, 1100–1102

drawing text, 1106–1108

editing text documents, 1112–1116

fonts and font families, 1108–1111

GDI and, 1073–1074

image manipulation issues, 1105–1106

Invalidate( ) method, 1116–1117

measuring coordinates and

areas, 1082–1087

namespaces, 1075

OnPaint( ), 1119–1120

overview of, 1073

page coordinates, 1094–1095

painting shapes with OnPaint( ), 1079–1080

pens, 1099–1100

printing, 1126–1130

responding to user input, 1122–1126

safety palette, 1098

world coordinates, 1094–1095

generic classes, 243–268

binary code reuse, 246

code bloat and, 246

collections, 269–270

constraints, 252–255

creating, 247–251

default values, 252

inheritance and, 255–256

invoking methods, 251–252

naming conventions, 246–247

overview of, 243–244

performance benefits of, 244–245

static members, 256

summary, 268

type safety and, 245

generic collections, 1047

generic delegates

implementing methods called by, 260–261

overview of, 259–260

used with Array class, 261–265

generic framework types

ArraySegment<T>, 267–268

EventHandler<TEventArgs>, 267

Nullable<T>, 265–267

generic interfaces, 256–257

generic methods, 257–259

Generic namespace, System.Collections, 265

generics, in C#, Visual Basic and C++/CLI, 1648–1651

$get( ) function, AJAX Library, 1325

get accessor

defining properties in C#, 1631–1632

property modifiers, 94

GetAccessControl method, 826–827

GetChanges( ) method, 894–895

GetChannel( ) method, 1416

GetChildRows( ) method, 877–878

GetData( ) method

CallContext, 1450–1451

event-booking Web service

example, 1383, 1385, 1387

GetEnumerator( ) method, 146–147

GetFileNames( ) method, 845

GetHashCode( ) method

dictionaries and, 299–301

overview of, 107

GetHostByAddress( ) method, 1360

GetLifetimeService( ) method, 1427–1428

GetMessageEnumerator( ) method, 1497

GetObject( ) method

activating client-activated objects, 1418

activating remote objects, 1417

message sinks, 1420

returning proxy to client, 1419

GetParentRows( ) method, 878

GetPublicQueues( ) methods, 1491–1492

GetReservations( ) method, 1513–1515

GetResponse( ) method, WebResponse, 1343–1344

GetResponseStream( ) method, WebResponse, 1343

GetRowType( ) method, 1067

GetService<T>method, 1572

GetTable( ) method, 1685

GetType( ) method, 107

GetValue( ) method

arrays, 140

RegistryKey class, 833

SelfPlacingWindow application using, 839

transactional resources, 700

global catalogs (GCs), Active Directory, 1587–1588 1721

global utility functions, AJAX Library, 1325–1326

Global.asax file, 1384–1385

globalization.

See also localization

changing cultures

programmatically, 663–664

culture properties, 644–648

cultures and regions, 639–641

custom cultures, 673–674

date formats, 643–644

number formats, 641–643

overview of, 637

sorting orders for cultures, 648–650

summary, 674

System.Globalization, 638

Unicode issues, 638–639

globally unique identifiers (GUIDs)

overview of, 1598

shared assembly names, 500

goto statement, 55–56

graphical device interface. See GDI+ (graphical device interface)

green color values. See RGB (red- green-blue) values

Greeting( ) method

delegates with .NET Remoting, 1441–1442

remote objects, 1407

Grid panel, 1156–1157, 1179–1180

GridView control, 1244–1245

group by operator, LINQ, 1690–1691

groups, regular expressions, 239–241

GUIDs (globally unique identifiers)

overview of, 1598

shared assembly names, 500




Professional C# 2005 with .NET 3.0
Professional C# 2005 with .NET 3.0
ISBN: 470124725
EAN: N/A
Year: 2007
Pages: 427

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net