public ConfigBuilder RegisterMappings <TContext>( [NotNull] Func <Mappings.Mappings, MappingSource <TContext> > action) where TContext : ISpContext { Guard.CheckNotNull(nameof(action), action); _mappingSourceBuilders.Register(typeof(TContext), action); return(this); }
private void Register(Type converterType, Func <IFieldConverter> converterBuilder) { _fieldConvertersBuilders.Register(converterType, converterBuilder); }