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