private static ScriptRegistrarBuilder PassThroughNonNull(ScriptRegistrarBuilder builder) { if (builder == null) { throw new ArgumentNullException(nameof(builder)); } return(builder); }
protected ScriptRegistrarBuilder(ScriptRegistrarBuilder builder) : this(PassThroughNonNull(builder).ScriptRegistrar) { }