Index: Core/Components/src/Core.Components.BruTile/Configurations/WellKnownTileSourceLayerConfiguration.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -rc7dcfeb120035a08adfe115275512e1e6c5b4931
--- Core/Components/src/Core.Components.BruTile/Configurations/WellKnownTileSourceLayerConfiguration.cs (.../WellKnownTileSourceLayerConfiguration.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/src/Core.Components.BruTile/Configurations/WellKnownTileSourceLayerConfiguration.cs (.../WellKnownTileSourceLayerConfiguration.cs) (revision c7dcfeb120035a08adfe115275512e1e6c5b4931)
@@ -25,6 +25,7 @@
using BruTile.Predefined;
using BruTile.Web;
using Core.Components.BruTile.Data;
+using Core.Components.Gis.Exceptions;
namespace Core.Components.BruTile.Configurations
{
@@ -48,7 +49,7 @@
/// is an invalid folder path
/// Thrown when
/// isn't a supported member.
- /// Thrown when creating the file
+ /// Thrown when creating the file
/// cache failed.
private WellKnownTileSourceLayerConfiguration(string persistentCacheDirectoryPath, KnownTileSource knownTileSource)
: base(persistentCacheDirectoryPath)
@@ -64,7 +65,7 @@
///
/// The built-in tile provider to be used.
/// The tile source corresponding to .
- /// Thrown when creating the file
+ /// Thrown when creating the file
/// cache failed.
private WellKnownTileSourceLayerConfiguration(KnownTileSource knownTileSource, ITileSource tileSource)
: base(SuggestTileCachePath(tileSource, knownTileSource))
@@ -81,7 +82,7 @@
/// The new .
/// Thrown when
/// isn't a supported member.
- /// Thrown when creating the file
+ /// Thrown when creating the file
/// cache failed.
public static WellKnownTileSourceLayerConfiguration CreateInitializedConfiguration(KnownTileSource knownTileSource)
{
Index: Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -rc7dcfeb120035a08adfe115275512e1e6c5b4931
--- Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs (.../WmtsLayerConfiguration.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs (.../WmtsLayerConfiguration.cs) (revision c7dcfeb120035a08adfe115275512e1e6c5b4931)
@@ -71,9 +71,9 @@
///
/// The capabilities url of the WMTS.
/// The tile source.
- /// Thrown when creating the file
+ /// Thrown when creating the file
/// cache failed.
- /// Thrown when
+ /// Thrown when
/// doesn't contain a .
private WmtsLayerConfiguration(string wmtsCapabilitiesUrl, ITileSource tileSource)
: base(SuggestTileCachePath(ValidateTileSource(tileSource)))
@@ -95,7 +95,7 @@
/// Thrown when any input argument is null.
/// Thrown when
/// is not an image MIME-type.
- /// Thrown when it has become impossible
+ /// Thrown when it has become impossible
/// to create an based on the given information (for example:
/// unable to connect to server).
public static WmtsLayerConfiguration CreateInitializedConfiguration(string wmtsCapabilitiesUrl, string capabilityIdentifier, string preferredFormat)
@@ -132,7 +132,7 @@
///
/// The source to be validated.
/// Returns .
- /// Thrown when
+ /// Thrown when
/// doesn't contain a .
private static ITileSource ValidateTileSource(ITileSource tileSource)
{
@@ -180,7 +180,7 @@
/// The identifier of the tile source.
/// The preferred tile image format, as MIME-type.
/// The tile source with .
- /// Thrown when unable to retrieve
+ /// Thrown when unable to retrieve
/// the configured tile source.
private static ITileSource GetConfiguredTileSource(string capabilitiesUri, string capabilityIdentifier, string preferredFormat)
{
Index: Core/Components/src/Core.Components.DotSpatial/Layer/BruTile/BruTileLayer.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -rc7dcfeb120035a08adfe115275512e1e6c5b4931
--- Core/Components/src/Core.Components.DotSpatial/Layer/BruTile/BruTileLayer.cs (.../BruTileLayer.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/src/Core.Components.DotSpatial/Layer/BruTile/BruTileLayer.cs (.../BruTileLayer.cs) (revision c7dcfeb120035a08adfe115275512e1e6c5b4931)
@@ -115,7 +115,7 @@
/// Creates an instance of this class using some tile source configuration.
///
/// The tile source configuration. If the configuration
- /// hasn't been initialized yet, will
+ /// hasn't been initialized yet, will
/// be called.
/// Thrown when
/// is null.
Index: Core/Components/src/Core.Components.Gis.Forms/Views/WmtsConnectionDialog.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -rc7dcfeb120035a08adfe115275512e1e6c5b4931
--- Core/Components/src/Core.Components.Gis.Forms/Views/WmtsConnectionDialog.cs (.../WmtsConnectionDialog.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/src/Core.Components.Gis.Forms/Views/WmtsConnectionDialog.cs (.../WmtsConnectionDialog.cs) (revision c7dcfeb120035a08adfe115275512e1e6c5b4931)
@@ -28,7 +28,7 @@
namespace Core.Components.Gis.Forms.Views
{
///
- /// A dialog allowing the user to create an instance of .
+ /// A dialog allowing the user to create an instance of .
///
public partial class WmtsConnectionDialog : DialogBase
{
Index: Core/Components/src/Core.Components.Gis.IO/Readers/WmtsConnectionInfoReader.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -rc7dcfeb120035a08adfe115275512e1e6c5b4931
--- Core/Components/src/Core.Components.Gis.IO/Readers/WmtsConnectionInfoReader.cs (.../WmtsConnectionInfoReader.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/src/Core.Components.Gis.IO/Readers/WmtsConnectionInfoReader.cs (.../WmtsConnectionInfoReader.cs) (revision c7dcfeb120035a08adfe115275512e1e6c5b4931)
@@ -106,7 +106,7 @@
}
///
- /// Validates if the reader points to the element.
+ /// Validates if the reader points to the element.
///
/// The reader to use.
/// true if the reader points to the WMTS connection element, false otherwise.
Index: Core/Components/test/Core.Components.Gis.Forms.Test/Views/WmtsLocationControlTest.cs
===================================================================
diff -u -r99f9004206bfb9de084275d749b7aeccafd6da18 -rc7dcfeb120035a08adfe115275512e1e6c5b4931
--- Core/Components/test/Core.Components.Gis.Forms.Test/Views/WmtsLocationControlTest.cs (.../WmtsLocationControlTest.cs) (revision 99f9004206bfb9de084275d749b7aeccafd6da18)
+++ Core/Components/test/Core.Components.Gis.Forms.Test/Views/WmtsLocationControlTest.cs (.../WmtsLocationControlTest.cs) (revision c7dcfeb120035a08adfe115275512e1e6c5b4931)
@@ -25,7 +25,6 @@
using System.Linq;
using System.Threading;
using System.Windows.Forms;
-using BruTile;
using BruTile.Wmts;
using Core.Common.Controls.DataGrid;
using Core.Common.Gui.Settings;
@@ -152,12 +151,12 @@
Assert.IsInstanceOf>(urlLocations.DataSource);
Assert.AreEqual("Name", urlLocations.DisplayMember);
Assert.AreEqual("Url", urlLocations.ValueMember);
- Assert.IsTrue((bool) urlLocations.Sorted);
+ Assert.IsTrue(urlLocations.Sorted);
Assert.IsNull(urlLocations.SelectedItem);
var buttonConnectTo = (Button) new ButtonTester("connectToButton", form).TheObject;
Assert.AreEqual("Verbinding maken", buttonConnectTo.Text);
- Assert.IsFalse((bool) buttonConnectTo.Enabled);
+ Assert.IsFalse(buttonConnectTo.Enabled);
var buttonAddLocation = new ButtonTester("addLocationButton", form);
Assert.AreEqual("Locatie toevoegen...", buttonAddLocation.Text);