Exemplo n.º 1
0
 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;
Exemplo n.º 3
0
 protected override Partition Create(Assembly parameter)
 => _types.Get(parameter)
 .Where(_specification)
 .ToLookup(_key)
 .ToDictionary(x => x.Key ?? string.Empty, _format)
 .Get;