Example #1
0
 protected HWBinaryResourceChunk GetFirstChunkOfType(
     HWBinaryResourceChunkType type)
 => Chunks.FirstOrDefault(chunk => chunk.Type == type);
Example #2
0
 protected HWBinaryResourceChunk[] GetAllChunksOfType(
     HWBinaryResourceChunkType type)
 => Chunks.Where(chunk => chunk.Type == type).ToArray();