public static ISettingsBinderProvider WithParserFor <T>(this ISettingsBinderProvider binderProvider, TryParse <T> parseMethod) { binderProvider.SetupParserFor <T>(new InlineTypeParser <T>(parseMethod)); return(binderProvider); }
public ClassStructBinder(ISettingsBinderProvider binderProvider) => this.binderProvider = binderProvider;
public void TestSetup() { provider = new SettingsBinderProvider().WithDefaultParsers(); }
public ConstructorBinder(ISettingsBinderProvider binderProvider) => this.binderProvider = binderProvider;
internal DefaultSettingsBinder(ISettingsBinderProvider binderProvider) => this.binderProvider = binderProvider.WithDefaultParsers();