نمایهٔ پایانی Q تا Z، دربارهٔ نویسنده و Colophon
نمایهٔ پایانی Q تا Z، دربارهٔ نویسنده و Colophon
فروش یا انتشار این ترجمه منوط به داشتن مجوز لازم از صاحب حقوق اثر است.
نمایهٔ پایانی، دربارهٔ نویسنده و Colophon
این بخش آخرین قسمت نمایه از Q تا Z و سپس صفحات دربارهٔ نویسنده، Colophon و صفحهٔ پایانی ناشر را دربر میگیرد.
نمایه — صفحهٔ 1055
(همچنین رجوع کنید به specific types)
predicate, 424
preempted thread, 633
prefixes
namespaces and, 544
X-DOM, 547
preprocessor directives, 270-272
Conditional attribute, 271
pragma warning, 272
primary constructors, 137, 235-237
primary expressions, 78
primitive types, 46
Priority property, 642
private access modifier, 145
private key, 884
private protected access modifier, 145
Process, 360-362, 615
examining running processes, 615
examining threads in a process, 615
redirecting output and error streams,
361
Process class, 643
Process.Threads property, 615
producer/consumer collection, 967
producer/consumer queue, 970-972
Progress<T>, 683
projecting
into an X-DOM, 549-552
LINQ operators, 480-492
Select method, 480-484
SelectMany, 485-492
properties
automatic, 115
calculated properties, 115
CLR property implementation, 117
emitting, 846-847
expression-bodied, 115
get and set accessors, 116
property initializers, 116
read-only, 115
property initializer, 116
property patterns, 241
property validation, 232
protected access modifier, 145
protected internal access modifier, 145
proxy servers, 751
pseudocustom attributes, 830
public access modifier, 145
public key, 884
public keyword, 39
public-key encryption/signing, 884-888
digital signing, 887
RSA class, 886
punctuators, 35
Q
quantifiers, 427, 519
greedy versus lazy, 1017
LINQ, 475, 519
regular expressions, 1011, 1016
query continuation, 443
query expressions
about, 427-430
building, 466-470
delegates versus expression trees,
466-468
expression DOM, 468
expression trees, 468-470
mixed-syntax queries, 431
query syntax versus fluent syntax, 431
query syntax versus SQL syntax, 430
range variables, 430
X-DOM, 528-533
query operators
chaining, 421-424
LINQ, 419
query strings, 753
question mark (?)
in nullable types, 210
in regular expressions, 1011, 1017
Queue, 390
Queue<T>, 390
quote, single (')
enclosing char literals, 57
following generic type names, 808
R
rainbow tables, 878
Random class, 338
Range operator, 520
range partitioning, 943-944, 954
range variables, 430
ranges
arrays and, 64
using indices and ranges with index‐
ers, 119
|
نمایه — صفحهٔ 1056
raw string literals (C# 11), 59-60
RCWs (Runtime-Callable Wrappers),
1003
Reactive Extensions, 931
read locks, 907-911
read-only properties, 115
read-only structs, 143
ReaderWriterLockSlim, 907-911
readonly modifier, 104, 144
ReadOnlyCollection<T>, 406
ReadOnlySpan<char>, 980-982
real literals, 48
record structs, 230
records, 227-238
background, 227
calculated fields and lazy evaluation,
233-235
defining a record, 227-230
equality comparison and, 237
mutability with record structs, 230
nondestructive mutation, 231
parameter lists, 229
primary constructors, 235-237
property validation, 232
rectangular arrays, 64
recursive locking, 911
reentrancy, 665
ref locals, 75
ref parameter
implicit, 1005
passing, 820
type names, 809
ref parameter modifier, 70
ref returns, 76
ref structs, 144
refactoring, 32
reference assemblies, 281
reference conversions, 128-130, 170
reference types, 43, 44
ReferenceEqualityComparer.Instance, 414
referential equality, 345, 346
reflection, 805-859
anonymously calling members of
generic interface, 824
awkward emission targets, 851-854
base types and interfaces, 809
dynamic code generation, 834-840
emitting assemblies and types,
841-843
emitting constructors, 848
emitting fields and properties, 846-847
emitting generic methods and types,
849-851
emitting type members, 844-849
obtaining a type, 806-807
parsing IL, 855-859
reflecting and activating types,
806-812
reflecting and invoking members of a
type, 813-827
reflecting assemblies, 827
type names, 808
working with attributes, 828-833
Reflection.Emit object model, 842
Regex...
Regex object, 1013
Regex.Match, 1012
RegEx.Replace, 1022
Regex.Split, 1023
RegexMatchTimeoutException, 1012
RegexOptions, 1013
RegexOptions.Compiled, 1013
RegexOptions.Multiline, 1019
RegisterWaitForSingleObject, 917
regular expressions (Regex), 1011-1028
basics, 1011-1016
character escapes, 1014
character sets, 1015
compiled regular expressions, 1013
cookbook regular expressions,
1023-1026
groups, 1020-1021
language reference, 1027-1028
MatchEvaluator delegate, 1022
named groups, 1021
quantifiers, 1016
RegexOptions, 1013
replacing and splitting text, 1022
zero-width assertions, 1017-1020
reimplementing interfaces, 149-151
relational operators, 212
relational patterns, 239
remainder operator (%), 50
Repeat operator, 520
Replace method, 295
required members, 136
reserved keywords, 34
Resize method, 385
|
نمایه — صفحهٔ 1057
ResourceManager class, 779-780
.resources files, 778-783
resources, in assemblies, 776-783
creating a pack URI resource in Visual
Studio, 780
directly embedding, 777
.resources files, 778-780
.resx files, 779
resurrection, 592-593
.resx files, 779
return statement, 94
return types, 32, 106
covariant return types (C# 9), 131
explicitly specifying lambda parameter
and return types, 189
rich-client applications
application layers, 286
threading in, 643-645
right-associative operators, 80
Rijndael class, 879, 883
roots, garbage collection and, 588
Round method, 336
rounding errors, 54
rounding, real to integral conversions, 331
RSA encryption algorithm, 886
runtime type checking, 140
Runtime-Callable Wrappers (RCWs),
1003
RuntimeBinderException, 251, 252
runtimes
defined, 5
niche, 8
runtime targets and TFMs, 279
S
satellite assemblies, 781-782
building, 781
cultures and subcultures, 782
testing, 782
Visual Studio designer support, 782
sbyte (numeric type), 53
sealed modifier, 134, 151
searching
within an array, 382
within spans, 977
within strings, 294
security (رجوع کنید به cryptography and encryp‐
tion)
seed factory function, 946
seed value, 946
Select method, 480-484
indexed projection, 481
projecting into concrete types, 484
select subqueries and object hierar‐
chies, 481
subqueries and joins in EF Core, 482
selection statements, 86
changing the flow of execution with
braces, 87
else clause and, 86
if statement, 86
switch expressions, 90
switch statements, 88-89
switching on types, 89
SelectMany, 485-492
in EF Core, 489
joining with, 489
multiple range variables, 487
outer joins with, 491
thinking in query syntax, 488
self-referencing type constraints, 261
semaphore, 904-906
asynchronous semaphores and locks,
906
writing an EnterAsync extension
method, 906
semicolon (;), 31, 35
SendAsync method, 748
SequenceEqual method, 519
sequences, 419
serialization, defined, 266
set accessor, 116
set operators (LINQ), 507
Concat and Union, 507
Intersect and Except, 508
SetData method, 924
SetValue method, 380, 537
shallow copy, 227
shared memory, 995-997
shared state, 632
shared writable state, 638
shift left operator (<<), 52
shift right operator (>>), 52
SignalAndWait method, 918
signaling
constructs/performance, 915
event wait handles for, 911-919
|
نمایه — صفحهٔ 1058
threading, 643
two-way, 914
signature, 106
signing, digital, 887
signtool.exe, 775
single dispatch, 866
Single operator, 513
single-line comments, 36
single-threaded program, 632
single-threaded timers, 929
Skip operator, 478
[SkipLocalsInit] attribute, 269
SkipWhile operator, 479
slicing
defined, 973
list patterns and, 243
spans and, 974-978
SmtpClient, 758
SortedDictionary<TKey,TValue>, 399
SortedSet<T>, 392
Span<T> struct, 973-983
spans
CopyTo and TryCopyTo, 976
forward-only enumerators, 980-982
searching in, 977
slicing and, 974-978
stack-allocated/unmanaged memory,
982
working with text, 977
spinning, blocking versus, 635
Split method, 295
splitting strings, 295
SQL Server, 8
square brackets ([])
array declaration, 40, 61, 65
in collection expressions, 62
in list patterns, 243
in regular expressions, 1014
stack, 67
Stack (data structure), 391
stack-allocated memory, 982
Stack<T>, 391
stackalloc keyword, 265
StackFrame class, 616-618
StackTrace class, 616-618
StartsWith method, 294
state, 873
statement block, 32, 84, 189
statements, 31, 84-94
declaration statements, 84
expression statements, 85
iteration statements, 91-92
jump statements, 93-94
selection statements, 86
switch statements, 88-89
static abstract members, 153, 826-827
static binding, 249
static classes, 124, 217-220
static constructors, 122
static interface members, 152-153
static nonvirtual members, 152
static virtual/abstract members, 153,
826-827
static keyword, 192
static lambda expressions, 192
static local methods, 107
static members
instance versus, 38
locking, 900
static methods, 175, 217-220
static polymorphism, 260-263
generic math, 262-263
polymorphic operators, 261-262
static virtual/abstract members and,
153
static readonly field, 105
static type checking, 140
static types, 254
static typing, 2
static variable flags, 608
static virtual members, 153, 826-827
Stop method, 583
Stopwatch class, 624
stream adapters, 709-717
binary adapters, 715
closing and disposing, 716, 717
text adapters, 710-715
Stream...
Stream class, 694
StreamReader, 712, 761
StreamWriter, 712, 761
streams and I/O, 693-739
backing store streams, 700
BufferedStream, 708
closing and flushing, 699
compression streams, 718-721
file and directory operations, 723-733
FileStream, 700-704
|
نمایه — صفحهٔ 1059
memory-mapped files, 736-739
MemoryStream, 704
OS security, 733-736
PipeStream class, 704-708
reading and writing, 697
seeking, 698
stream adapters, 709-717
stream architecture, 693-695
.tar files, 722
thread safety, 699
timeouts, 699
using streams, 695-709
ZIP files, 721
string type, 36, 57-61, 293-304
accessing characters within, 294
comparing, 61, 297-300
constructing strings, 293
enum conversions, 342
manipulating, 295
null/empty, 293
ordinal versus culture comparison,
297
searching within strings, 294
spans and, 977
splitting/joining, 295
string equality comparisons, 298
string order comparison, 299
String.format and composite format
strings, 296
StringBuilder class, 300
text encodings and Unicode, 301-304
UTF-8 string literals, 61
writing a declaration to, 542
String...
string.Format, 296, 321
string.IsNullOrEmpty, 294
StringBuilder class, 300
StringComparer, 416
StringComparison enum, 298
StringInfo class, 304
StringReader, 715
StringSplitOptions enum, 296
StringWriter, 715
strongly named assemblies, 770
struct constraint, 164
structs, 142-145
construction semantics, 142
mapping to unmanaged memory,
997-1001
mapping to unmanaged method,
988-990
mutability with record structs, 230
read-only structs/functions, 143
ref structs, 144
speeding up equality comparison with,
351
structural comparison, 417
structural equality, 345
structured parallelism, 932
subclass
inheritance with primary constructors,
137
reimplementing an interface in,
149-151
subclassing generic types, 165
subcultures, 782
subqueries, 438-442
deferred execution and, 441
select subqueries and object hierar‐
chies, 481
subqueries and joins in EF Core, 482
subscribers, 181
Substring method, 295
Sum operator, 515
surrogate pairs, 303
switch expressions, 90
switch statements, 88-89
symmetric encryption, 879-884
chaining encryption streams, 882
disposing encryption objects, 883
encrypting in memory, 881
key management, 884
synchronization context scheduler, 962
synchronization object, 892
SynchronizationContext class, 645
synchronous call graph, 659
synchronous completion, 677-679
syntax, C#, 34-36
comments, 36
identifiers and keywords, 34-35
literals, punctuators, and operators, 35
System...
System.AppContext, 362
System.ArgumentException, 202
System.ArgumentNullException, 202
System.ArgumentOutOfRangeExcep‐
tion, 202
System.Attribute, 244, 829, 831
|
نمایه — صفحهٔ 1060
System.Buffers, 599
System.Buffers.MemoryPool<T>, 979
System.Buffers.Text, 978
System.Char, 291
System.Collections.Concurrent, 593,
966
System.Collections.Frozen, 410
System.Collections.Generic, 205
System.Collections.Generic.IEnumer‐
able<T>, 204
System.Collections.Generic.IEnumer‐
ator<T>, 203
System.Collections.IEnumerable, 204,
205
System.Collections.IEnumerator, 204
System.Collections.Immutable, 407
System.ComponentModel, 645, 691
System.Core.dll, 862
System.Data, 584
System.Data.IDataRecord, 870
System.Data.SqlTypes.SqlBoolean, 259
System.Delegate, 176
System.Diagnostics, 360-362, 614, 643
System.Diagnostics.Performance‐
Counter, 620
System.Drawing, 584
System.Dynamic, 861
System.Enum, 340
System.Environment class, 359
System.EventArgs, 183
System.EventHandler<>, 184
System.Exception, 197, 201
System.GC.Collect, 594
System.Globalization, 304, 308
System.Globalization.CultureInfo, 783
System.IDisposable, 199
System.InvalidOperationException,
202
System.IO, 584, 723
System.IO.Compression, 718, 721
System.Linq.Enumerable class, 821
System.Management, 724
System.MulticastDelegate, 176
System.Net, 665, 743
System.Net.Mail, 758
System.NotImplementedException,
202
System.NotSupportedException, 202
System.Nullable<T>, 210
System.Numerics.BitOperations, 340
System.Object, 138, 352
System.ObjectDisposedException, 202
System.Reflection, 768
System.Reflection.Emit, 805, 834, 842
System.Runtime, 625
System.Runtime.CompilerServices,
861
System.Runtime.InteropServices, 1007
System.Runtime.Loader, 784
System.Security.AccessControl, 734
System.Security.Cryptography, 339
System.Security.Cryptogra‐
phy.X509Certificates, 876, 888
System.Security.Cryptography.Xml,
876
System.String, 293, 356
System.Text, 302
System.Text.Json.JsonDocument, 572
System.Text.Json.Utf8JsonReader,
568-570
System.Text.Json.Utf8JsonWriter, 571
System.Text.RegularExpressions, 1011
System.Threading, 602
System.Threading.Channels.Channel,
931
System.Threading.Tasks, 648
System.Threading.Timer, 928
System.Timers, 601, 928
System.Timers.Timer, 598
System.Tuple, 226
System.Type, 140, 806
System.Uri class, 241
System.WeakReference class, 603
System.Windows.Forms.Timer, 927
System.Windows.Threading.Dispatch‐
erTimer, 927
System.Xml.Linq, 536
System.Xml.Serialization, 244
T
Take operator, 478
TakeWhile operator, 479
TAP (Task-Based Asynchronous Pattern),
685
.tar files, 722
Target Framework Moniker (TFM), 279
target typing, 77, 205
|
نمایه — صفحهٔ 1061
task combinators, 685-689
custom combinators, 687
WhenAll, 686
WhenAny, 685
task parallelism, 954-964
canceling tasks, 957
child tasks, 956
continuations, 958-962
creating and starting tasks, 955
defined, 932
specifying a state object, 955
task schedulers, 962
TaskCreationOptions, 955
TaskFactory, 963
waiting on multiple tasks, 956
task schedulers, 962
Task-Based Asynchronous Pattern (TAP),
685
Task...
Task class, 648
Task.Delay, 656
Task.Factory, 963
Task.Factory.StartNew, 654, 955
Task.Run, 648, 658, 955
Task.WaitAll, 956
Task.WaitAny, 956
Task.WhenAll, 686
Task.WhenAny, 685
Task<T>, 679
Task<TResult>, 650, 668, 958
TaskCanceledException, 957
TaskCompletionSource, 653-656, 660,
668, 670
TaskCreationOptions, 955
TaskCreationOptions.LongRunning,
650, 654
TaskFactory object, 963
TaskScheduler.UnobservedTaskExcep‐
tion, 651
tasks, 648-656
asynchronous programming and, 658
continuations, 652-653
exceptions, 650
exceptions and autonomous tasks, 651
long-running, 649
returning values, 650
starting a task, 648-650
TaskCompletionSource, 653-656
Wait method, 649
TCP (Transmission and Control Proto‐
col)
basics, 759-763
concurrency with, 762
receiving POP3 mail with, 763-764
TcpClient, 760-763
TcpListener, 760-763
ternary (conditional) operator, 57
text
MatchEvaluator delegate, 1022
replacing and splitting with regular
expressions, 1022
spans and, 977
text adapters, 710-715
character encodings, 713
StreamReader and StreamWriter, 712
StringReader and StringWriter, 715
text encoding, 301-304
encoding to byte arrays, 303
file and stream I/O, 303
obtaining an Encoding object, 302
UTF-16 and surrogate pairs, 303
text handling, 291-304
char type, 291
text encodings and Unicode, 301-304
ThenBy operator, 501
ThenByDescending operator, 502
thin-client applications, 286
this keyword, 108
this reference, 113
thread execution barrier, 919
thread pool, 646
entering, 646
hygiene in, 647
thread safety, 699
thread-local storage, 923-926
AsyncLocal<T>, 925
GetData and SetData, 924
ThreadLocal<T>, 923
ThreadStatic attribute, 923
thread-safe code, 638
thread-safe objects, 900
thread-unsafe operations, 940
Thread...
Thread object, 632
Thread.Sleep, 634
ThreadLocal<T>, 923, 939
ThreadPool.RegisterWaitForSingleOb‐
ject, 917
|
نمایه — صفحهٔ 1062
ThreadStart delegate, 632
ThreadStatic attribute, 923
threading, 632-647, 889-930
advanced topics, 889-930
Barrier class, 919-920
blocking, 634
blocking versus spinning, 635
creating a thread, 632-634
exception handling, 640
exclusive locking, 890-898
foreground versus background
threads, 642
I/O bound versus compute-bound
operations, 635
in rich-client applications, 643-645
join and sleep, 634
lambda expressions and captured vari‐
ables, 639
lazy initialization, 920-923
limitations of, 648
local versus shared state, 636-638
locking and thread safety, 638,
898-903
multiple UI threads, 645
nonexclusive locking, 904-911
passing data to a thread, 639-640
Priority property, 642
signaling, 643
signaling with event wait handles,
911-919
synchronization contexts, 645
synchronization overview, 890
thread pool, 646
thread-local storage, 923-926
timers, 926-930
threads
defined, 632
examining threads in a process, 615
throw expressions, 200
throw statement, 94
throwing exceptions, 200-201
rethrowing exceptions, 201
throw expressions, 200
time zones, 312-317
DateTime and, 312
DateTimeOffset and, 313
Daylight Saving Time and DateTime,
317
TimeZoneInfo, 313-316
time-stamping server, 776
timeouts, 699
timers, 926-930
memory leaks and, 601
multithreaded, 928-929
single-threaded, 929
TimeSpan, 304
TimeZone.CurrentTimeZone method,
313
TimeZoneInfo, 313-316
To...
ToArray operator, 511
ToDictionary operator, 511
ToHashSet operator, 511
ToList operator, 511
ToLocalTime, 312
ToLongDateString method, 311
ToLookup operator, 511
ToLower, 291, 295
ToShortDateString method, 311
ToString method, 141, 300, 310, 318,
525
ToUniversalTime, 312, 317
ToUpper, 291, 295
top-level statements
elements of, 41
local methods and, 107
Trace class (رجوع کنید به Debug and Trace classes)
TraceFilter, 613
TraceListener, 612
traces, 627
Transmission and Control Protcol (رجوع کنید به
TCP)
transport layer, 741
try statements and exceptions, 195-203
alternatives to exceptions, 203
catch clause, 197-198
common exception types, 202
finally block, 199
key properties of System.Exception,
201
throwing exceptions, 200-201
try/catch/finally blocks, 208
TryXXX method pattern, 203
using declarations, 200
using statement, 199
TryCopyTo method, 976
TryEnter method, 892
TryParse, 305, 318
|
نمایه — صفحهٔ 1063
TryXXX method pattern, 203
tuple literal, 222
tuple patterns, 240
tuple types, 222
TupleElementNamesAttribute, 224
tuples, 222-226
aliasing (C# 12), 225
deconstructing, 225
equality comparison, 226
naming tuple elements, 223
System.Tuple classes, 226
type erasure, 224
ValueTuple.Create, 223
type arguments, 159
type checking, 140
type converters, 333
type equivalence, 1007
type library importer, 1003
type marshaling, 986-988
calling conventions, 990
in and out marshaling, 990
marshaling classes and structs,
988-990
marshaling common types, 986-990
type members, emitting, 844-849
type parameters
covariance, 169
declaring, 162
generic types and, 159
type safety, 2
enums and, 156
type system, C#
access modifiers, 145-147
anonymous types, 220
basics, 36-47
Boolean type and operators, 55-57
C# members versus CLR members,
816
converting types, 42
creating types, 103-171
custom type examples, 37-42
dynamically invoking a member, 819
emitting assemblies and types,
841-843
enums, 154-157
extension methods, 217-220
generics, 159-171
inheritance (رجوع کنید به inheritance)
instantiating a type, 810-812
interfaces, 147-154
nested types, 157-159
numeric types, 47-55
object type, 138-142
predefined type examples, 36
strings and characters, 57-61
structs, 142-145
value types versus reference types,
43-46
type unification, 138, 340
Type...
TypeAttributes, 841
TypeBuilder, 841-843, 846
TypeIdentifierAttribute, 1007
TypeInfo class, 807, 813
typeof operator, 140, 162
types
aliasing any type (C# 12), 100
aliasing within namespaces, 99
base types and interfaces, 809
partial types/methods, 124
reflecting and activating, 806-812
reflecting and invoking members of,
813-827
U
UAC (User Account Control), 733
UI (user interface)
awaiting in, 664-666
multiple UI threads, 645
unbound generic type, 162
unboxing, 139
is operator and, 130
nullable values, 211
#undef directive, 608
Unicode, 301-304
UTF-16 and surrogate pairs, 303
XmlWriter and, 541
UnicodeCategory enum, 293
union, 994
Union operator, 507
Unity, 8
Universal Windows Platform (UWP) (رجوع کنید به
UWP)
Unix
file security, 727
gzip file compression, 720
Unix gzip file compression, 720
|
نمایه — صفحهٔ 1064
Unix, OS security, 733
unmanaged code
callbacks from, 991
callbacks with delegates, 993
callbacks with function pointers (C#
9), 991
unmanaged constraint, 164
unmanaged heap, 998
unmanaged memory, 982, 997-1001
[UnmanagedCallersOnly] attribute, 992
UnmanagedType, 986
unnamed methods, 672
unsafe code, 263-269, 264
unseeded aggregations, 517
upcasting, 128
upgradeable locks, 909
UploadValues method, 754
Uri class, 744-746
URIs, 744-746
User Account Control (UAC), 733
user interface (UI)
awaiting in, 664-666
multiple UI threads, 645
UseShellExecute, 362
ushort (numeric type), 47
using declarations, 200
using directive, 96, 99, 225
using statement, 94
using static directive, 97
UTC (Coordinated Universal Time), 306,
313
UTF-8 string literals, 61
Utf8JsonReader, 568-570
Utf8JsonWriter, 571
utility classes, 358-363
AppContext, 362
Console, 358
Environment, 359
Process, 360-362
UWP (Universal Windows Platform), 288
about, 8
V
value equality, 345
value types, 43
ValueTask<T>, 679
ValueTuple.Create, 223, 225
ValueTuple<string,int>, 224
var keyword, 77
var pattern, 240
var type, dynamic type versus, 252
variables, 36, 67-69
(همچنین رجوع کنید به parameters)
default values, 69
definite assignment and, 68
heap, 67
purpose of, 36
ref locals, 75
ref returns, 76
stack and, 67
var keyword, 77
verbatim string literals, 58
vertical bar (|)
bitwise OR operator, 52, 155
bool? with | operator, 213
in regular expressions, 1012
view accessors, 738
virtual function members, 131
virtualization, 735
Visitor pattern, 863-865
void expressions, 78
void pointer (void*), 266
volume information, querying, 731
W
wait handles (رجوع کنید به event wait handles)
Wait method, 649
WaitAll method, 918
WaitAny method, 918
#warning preprocessor directive, 270
weak references
caching and, 604
events and, 604-606
GC and, 603-606
Where clause, 476-479
Enumerable.Where implementation,
476
indexed filtering, 477
WHERE x IN (…,…,…), 478
while loops, 91
wildcards (character sets), 1015
Windows
application manifest, 767
file security, 726
memory-mapped files and shared
memory, 737
|
نمایه — صفحهٔ 1065
OS security, 733
Windows Data Protection API (DPAPI),
876
Windows Desktop application layer, 7,
287
Windows event logs, 618-620
monitoring, 619
reading, 619
writing to, 618
Windows Forms, 287
Windows Management Instrumentation
(WMI) API, 724
Windows Presentation Foundation
(WPF), 287
Windows Runtime (WinRT)
asynchronous methods in, 675
WinUI 3, 7
WithDegreeOfParallelism, 941
WithMergeOptions, 937
WMI (Windows Management Instru‐
mentation) API, 724
word boundary assertions, 1020
WPF (Windows Presentation Founda‐
tion), 287
write locks, 907-911
X
x++ (incrementing), 638
X-DOM (رجوع کنید به XML DOM)
XAML (Extensible Application Markup
Language) files, 333, 780
XAttribute, 524
XContainer, 524
XDeclaration object, 539
XDocument, 524, 539-543
XElement, 522-526
using XmlReader with, 566
using XmlWriter with, 567
XML declarations, 541
XML documentation, 272-275
standard tags, 273-275
type or member cross-references, 275
user-defined tags, 275
XML DOM (X-DOM), 522
attribute navigation, 533
automatic deep cloning, 528
automatic XText concatenation, 539
child node navigation, 529
content specification, 527
default namespaces, 546
functional construction, 526
getting values, 537
instantiating, 526-528
loading and parsing, 524
mixing XmlReader/XmlWriter with,
566
namespace specification, 545
navigating and querying, 528-533
overview, 522-526
parent navigation, 532
peer node navigation, 533
prefixes, 547
projecting into, 549-552
removing a sequence of nodes or
attributes, 536
retrieving a single element, 531
retrieving descendants, 531
retrieving elements, 530
saving and serializing, 525
setting values, 537
simple value updates, 534
updating, 534-537
updating child nodes and attributes,
535
updating through the parent, 535
values and mixed content nodes, 538
working with values, 537-539
XmlConvert, 332
XmlReader, 553-561
mixing with an X-DOM, 566
namespaces and prefixes, 560
patterns for using, 563-568
reading attributes, 559
reading elements, 555-559
reading nodes, 554
using with XElement, 566
working with hierarchical data,
563-566
XmlWriter, 561
mixing with an X-DOM, 566
patterns for using, 563-568
using with XElement, 567
working with hierarchical data,
563-566
writing a declaration to a string, 542
XNode, 524
XObject, 522, 548
|
نمایه — صفحهٔ 1066
XStreamingElement, 552
XText, 539
Y
yield break statement, 207
Z
zero-width assertions, 1017-1020
anchors, 1019
defined, 1017
lookahead and lookbehind, 1017
word boundaries, 1020
ZIP files, 721
Zip operator, 500
ZipArchive class, 721
ZipFile class, 721
|
دربارهٔ نویسنده (About the Author)
Joseph Albahari نویسندهٔ کتابهای C# 10 in a Nutshell، C# 12 Pocket Reference و LINQ Pocket Reference است. او همچنین LINQPad ــ محیط محبوب scratchpad برای کدنویسی و utility مربوط به LINQ querying ــ را نوشته است.
Colophon
حیوان روی جلد C# 12 in a Nutshell یک درنای نومیدیایی (numidian crane) است. درنای نومیدیایی با نام علمی Grus virgo بهسبب ظرافت و تقارنش «demoiselle crane» نیز نامیده میشود. این گونهٔ درنا بومی اروپا و آسیاست و در زمستان به هند، پاکستان و شمالشرق آفریقا مهاجرت میکند.
هرچند درناهای نومیدیایی کوچکترین درناها هستند، قلمرو خود را بهاندازهٔ گونههای دیگر درنا تهاجمی دفاع میکنند و با صدای بلند، دیگران را از ورود به قلمرو هشدار میدهند. در صورت لزوم مبارزه میکنند. این درناها بهجای تالابها در ارتفاعات لانه میسازند و اگر در فاصلهٔ 200 تا 500 متر آب وجود داشته باشد، حتی در بیابان زندگی میکنند. گاهی از سنگریزهها لانه میسازند و تخمها را در آن میگذارند؛ بااینحال بیشتر اوقات تخمها را مستقیماً روی زمین میگذارند و تنها پوشش گیاهی از آنها محافظت میکند.
در برخی کشورها درنای نومیدیایی نماد خوششانسی دانسته میشود و گاهی حتی تحت حمایت قانون است. بسیاری از حیواناتی که روی جلدهای O’Reilly دیده میشوند در معرض خطرند؛ همهٔ آنها برای جهان اهمیت دارند.
تصویر جلد اثر Karen Montgomery است و بر پایهٔ یک engraving سیاهوسفید از Wood’s Illustrated Natural History ساخته شده است. فونتهای جلد Gilroy Semibold و Guardian Sans هستند. فونت متن Adobe Minion Pro، فونت headingها Adobe Myriad Condensed و فونت code، Ubuntu Mono از Dalton Maag است.
صفحهٔ پایانی O’Reilly
از متخصصان بیاموزید؛ خودتان یکی از آنها شوید.
کتابها | دورههای آنلاین زنده | پاسخهای فوری | رویدادهای مجازی | ویدئوها | یادگیری تعاملی
شروع در: oreilly.com
©2023 O’Reilly Media, Inc. نام O’Reilly علامت تجاری ثبتشدهٔ O’Reilly Media, Inc. است. 175_6x9