protected override Partition Create(Assembly parameter) => _types.Get(parameter) .Where(_specification) .ToLookup(_key) .Where(x => !string.IsNullOrWhiteSpace(x.Key)) .ToDictionary(x => x.Key, _format) .Get;
public Func <string, ImmutableArray <TypeInfo>?> Get(KeyValuePair <Assembly, IIdentity> parameter) => _types.Get(parameter.Key) .Where(_specification) .ToLookup(_formatter) .ToDictionary(y => y.Key, y => y.ToImmutableArray()) .GetStructure;
protected override Partition Create(Assembly parameter) => _types.Get(parameter) .Where(_specification) .ToLookup(_key) .ToDictionary(x => x.Key ?? string.Empty, _format) .Get;