public ProxyProvider(string urlTemplate, string format, IEnumerable<VectorLayerMetadata> vectorLayers = null) { if (string.IsNullOrEmpty(urlTemplate)) throw new ArgumentNullException("ProxyProvider url template cannot be null or empty"); this._urlTemplate = urlTemplate; this._formats = new List<string> { format }; }