/// <summary> /// Provides the schema to use by default when no other matches are found. /// </summary> /// <param name="typeMapper">The default schema to use.</param> public void WithDefault(IDynamicFixedLengthTypeMapper typeMapper) { defaultMatcher = typeMapper == null ? nonMatcher : new TypeMapperMatcher { TypeMapper = typeMapper, Predicate = o => true }; }
/// <summary> /// Provides the schema to use by default when no other matches are found. /// </summary> /// <param name="typeMapper">The default schema to use.</param> public void WithDefault(IDynamicSeparatedValueTypeMapper typeMapper) { this.defaultMatcher = typeMapper == null ? nonMatcher : new TypeMapperMatcher() { TypeMapper = typeMapper, Predicate = (o) => true }; }