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