public virtual Content <T> Use(Content <T> source) { var conv = SupportedTypes.Where(t => t.Item1 == source.ContentType); if (conv.Count() > 1 || conv.Count() == 0) { throw new ArgumentException("No unique conversion found"); } return(Use(source, conv.First().Item2)); }
public IEnumerable <IImplementation> GetUnboundedSupportedTypes() => SupportedTypes.Where(c => c.IsValid);