4 overrides of GetArray
System.Formats.Nrbf (4)
System\Formats\Nrbf\ArraySingleObjectRecord.cs (1)
30
public override SerializationRecord?[]
GetArray
(bool allowNulls = true)
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
41
public override T[]
GetArray
(bool allowNulls = true)
System\Formats\Nrbf\ArraySingleStringRecord.cs (1)
44
public override string?[]
GetArray
(bool allowNulls = true)
System\Formats\Nrbf\SZArrayOfRecords.cs (1)
36
public override SerializationRecord?[]
GetArray
(bool allowNulls = true)
107 references to GetArray
PresentationCore (35)
System\Windows\Nrbf\SerializationRecordExtensions.cs (35)
140
SZArrayRecord<string> ar => ar.
GetArray
().CreateTrimmedList(size),
141
SZArrayRecord<bool> ar => ar.
GetArray
().CreateTrimmedList(size),
142
SZArrayRecord<byte> ar => ar.
GetArray
().CreateTrimmedList(size),
143
SZArrayRecord<sbyte> ar => ar.
GetArray
().CreateTrimmedList(size),
144
SZArrayRecord<char> ar => ar.
GetArray
().CreateTrimmedList(size),
145
SZArrayRecord<short> ar => ar.
GetArray
().CreateTrimmedList(size),
146
SZArrayRecord<ushort> ar => ar.
GetArray
().CreateTrimmedList(size),
147
SZArrayRecord<int> ar => ar.
GetArray
().CreateTrimmedList(size),
148
SZArrayRecord<uint> ar => ar.
GetArray
().CreateTrimmedList(size),
149
SZArrayRecord<long> ar => ar.
GetArray
().CreateTrimmedList(size),
150
SZArrayRecord<ulong> ar => ar.
GetArray
().CreateTrimmedList(size),
151
SZArrayRecord<float> ar => ar.
GetArray
().CreateTrimmedList(size),
152
SZArrayRecord<double> ar => ar.
GetArray
().CreateTrimmedList(size),
153
SZArrayRecord<decimal> ar => ar.
GetArray
().CreateTrimmedList(size),
154
SZArrayRecord<TimeSpan> ar => ar.
GetArray
().CreateTrimmedList(size),
155
SZArrayRecord<DateTime> ar => ar.
GetArray
().CreateTrimmedList(size),
186
SerializationRecord?[] array = arrayRecord.
GetArray
();
227
SZArrayRecord<string> ar => ar.
GetArray
(),
228
SZArrayRecord<bool> ar => ar.
GetArray
(),
229
SZArrayRecord<byte> ar => ar.
GetArray
(),
230
SZArrayRecord<sbyte> ar => ar.
GetArray
(),
231
SZArrayRecord<char> ar => ar.
GetArray
(),
232
SZArrayRecord<short> ar => ar.
GetArray
(),
233
SZArrayRecord<ushort> ar => ar.
GetArray
(),
234
SZArrayRecord<int> ar => ar.
GetArray
(),
235
SZArrayRecord<uint> ar => ar.
GetArray
(),
236
SZArrayRecord<long> ar => ar.
GetArray
(),
237
SZArrayRecord<ulong> ar => ar.
GetArray
(),
238
SZArrayRecord<float> ar => ar.
GetArray
(),
239
SZArrayRecord<double> ar => ar.
GetArray
(),
240
SZArrayRecord<decimal> ar => ar.
GetArray
(),
241
SZArrayRecord<TimeSpan> ar => ar.
GetArray
(),
242
SZArrayRecord<DateTime> ar => ar.
GetArray
(),
276
SerializationRecord?[] keys = keysRecord.
GetArray
();
277
SerializationRecord?[] values = valuesRecord.
GetArray
();
System.Formats.Nrbf (1)
System\Formats\Nrbf\SZArrayRecord.cs (1)
40
private protected override Array Deserialize(Type arrayType, bool allowNulls) =>
GetArray
(allowNulls);
System.Private.Windows.Core (51)
System\Private\Windows\Core\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (15)
102
SZArrayRecord<bool> primitiveArray => primitiveArray.
GetArray
(),
103
SZArrayRecord<byte> primitiveArray => primitiveArray.
GetArray
(),
104
SZArrayRecord<sbyte> primitiveArray => primitiveArray.
GetArray
(),
105
SZArrayRecord<char> primitiveArray => primitiveArray.
GetArray
(),
106
SZArrayRecord<short> primitiveArray => primitiveArray.
GetArray
(),
107
SZArrayRecord<ushort> primitiveArray => primitiveArray.
GetArray
(),
108
SZArrayRecord<int> primitiveArray => primitiveArray.
GetArray
(),
109
SZArrayRecord<uint> primitiveArray => primitiveArray.
GetArray
(),
110
SZArrayRecord<long> primitiveArray => primitiveArray.
GetArray
(),
111
SZArrayRecord<ulong> primitiveArray => primitiveArray.
GetArray
(),
112
SZArrayRecord<float> primitiveArray => primitiveArray.
GetArray
(),
113
SZArrayRecord<double> primitiveArray => primitiveArray.
GetArray
(),
114
SZArrayRecord<decimal> primitiveArray => primitiveArray.
GetArray
(),
115
SZArrayRecord<DateTime> primitiveArray => primitiveArray.
GetArray
(),
116
SZArrayRecord<TimeSpan> primitiveArray => primitiveArray.
GetArray
(),
System\Private\Windows\Core\BinaryFormat\Deserializer\Deserializer.cs (1)
226
SerializationRecordType.ArraySingleString => ((SZArrayRecord<string>)record).
GetArray
(),
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (35)
363
SZArrayRecord<string> ar => ar.
GetArray
().CreateTrimmedList(size),
364
SZArrayRecord<bool> ar => ar.
GetArray
().CreateTrimmedList(size),
365
SZArrayRecord<byte> ar => ar.
GetArray
().CreateTrimmedList(size),
366
SZArrayRecord<sbyte> ar => ar.
GetArray
().CreateTrimmedList(size),
367
SZArrayRecord<char> ar => ar.
GetArray
().CreateTrimmedList(size),
368
SZArrayRecord<short> ar => ar.
GetArray
().CreateTrimmedList(size),
369
SZArrayRecord<ushort> ar => ar.
GetArray
().CreateTrimmedList(size),
370
SZArrayRecord<int> ar => ar.
GetArray
().CreateTrimmedList(size),
371
SZArrayRecord<uint> ar => ar.
GetArray
().CreateTrimmedList(size),
372
SZArrayRecord<long> ar => ar.
GetArray
().CreateTrimmedList(size),
373
SZArrayRecord<ulong> ar => ar.
GetArray
().CreateTrimmedList(size),
374
SZArrayRecord<float> ar => ar.
GetArray
().CreateTrimmedList(size),
375
SZArrayRecord<double> ar => ar.
GetArray
().CreateTrimmedList(size),
376
SZArrayRecord<decimal> ar => ar.
GetArray
().CreateTrimmedList(size),
377
SZArrayRecord<TimeSpan> ar => ar.
GetArray
().CreateTrimmedList(size),
378
SZArrayRecord<DateTime> ar => ar.
GetArray
().CreateTrimmedList(size),
409
SerializationRecord?[] array = arrayRecord.
GetArray
();
450
SZArrayRecord<string> ar => ar.
GetArray
(),
451
SZArrayRecord<bool> ar => ar.
GetArray
(),
452
SZArrayRecord<byte> ar => ar.
GetArray
(),
453
SZArrayRecord<sbyte> ar => ar.
GetArray
(),
454
SZArrayRecord<char> ar => ar.
GetArray
(),
455
SZArrayRecord<short> ar => ar.
GetArray
(),
456
SZArrayRecord<ushort> ar => ar.
GetArray
(),
457
SZArrayRecord<int> ar => ar.
GetArray
(),
458
SZArrayRecord<uint> ar => ar.
GetArray
(),
459
SZArrayRecord<long> ar => ar.
GetArray
(),
460
SZArrayRecord<ulong> ar => ar.
GetArray
(),
461
SZArrayRecord<float> ar => ar.
GetArray
(),
462
SZArrayRecord<double> ar => ar.
GetArray
(),
463
SZArrayRecord<decimal> ar => ar.
GetArray
(),
464
SZArrayRecord<TimeSpan> ar => ar.
GetArray
(),
465
SZArrayRecord<DateTime> ar => ar.
GetArray
(),
509
SerializationRecord?[] keys = keysRecord.
GetArray
();
510
SerializationRecord?[] values = valuesRecord.
GetArray
();
System.Resources.Extensions (16)
System\Resources\Extensions\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (15)
105
SZArrayRecord<bool> primitiveArray => primitiveArray.
GetArray
(),
106
SZArrayRecord<byte> primitiveArray => primitiveArray.
GetArray
(),
107
SZArrayRecord<sbyte> primitiveArray => primitiveArray.
GetArray
(),
108
SZArrayRecord<char> primitiveArray => primitiveArray.
GetArray
(),
109
SZArrayRecord<short> primitiveArray => primitiveArray.
GetArray
(),
110
SZArrayRecord<ushort> primitiveArray => primitiveArray.
GetArray
(),
111
SZArrayRecord<int> primitiveArray => primitiveArray.
GetArray
(),
112
SZArrayRecord<uint> primitiveArray => primitiveArray.
GetArray
(),
113
SZArrayRecord<long> primitiveArray => primitiveArray.
GetArray
(),
114
SZArrayRecord<ulong> primitiveArray => primitiveArray.
GetArray
(),
115
SZArrayRecord<float> primitiveArray => primitiveArray.
GetArray
(),
116
SZArrayRecord<double> primitiveArray => primitiveArray.
GetArray
(),
117
SZArrayRecord<decimal> primitiveArray => primitiveArray.
GetArray
(),
118
SZArrayRecord<DateTime> primitiveArray => primitiveArray.
GetArray
(),
119
SZArrayRecord<TimeSpan> primitiveArray => primitiveArray.
GetArray
(),
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
230
SerializationRecordType.ArraySingleString => ((SZArrayRecord<string>)record).
GetArray
(),
System.Windows.Forms (3)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (3)
37
imageListStreamer = new ImageListStreamer(data.
GetArray
());
57
bitmap = new Bitmap(new MemoryStream(data.
GetArray
()));
97
@object = JsonSerializer.Deserialize<T>(byteData.
GetArray
());
System.Windows.Forms.Tests (1)
System\Windows\Forms\ClipboardTests.cs (1)
1061
JsonSerializer.Deserialize(byteData.
GetArray
(), typeof(SimpleTestData)).Should().BeEquivalentTo(testData);