public static void SetProvider(IWhiteSpaceBusterProvider provider) { s_Instance.InnerSetProvider(provider); }
public void InnerSetProvider(IWhiteSpaceBusterProvider provider) { Require.NotNull(provider, nameof(provider)); _current = provider; }
public WhiteSpaceBusterProvider(IWhiteSpaceBusterProvider provider) { InnerSetProvider(provider ?? new DefaultWhiteSpaceBusterProvider()); }