public float GetSpaceUsed(PocketType type) { return(Manifest.Samples .Where(sample => sample.Type == type) .Sum(sample => Manifest.GetQuantity(sample) * Pocket.GetUnitSize(sample))); }