Index: Core/Components/src/Core.Components.BruTile.IO/AsyncTileFetcher.cs
===================================================================
diff -u -ra9a7e0a2bb2aafdc0372339bd141f8fefff4c628 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.BruTile.IO/AsyncTileFetcher.cs (.../AsyncTileFetcher.cs) (revision a9a7e0a2bb2aafdc0372339bd141f8fefff4c628)
+++ Core/Components/src/Core.Components.BruTile.IO/AsyncTileFetcher.cs (.../AsyncTileFetcher.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -169,8 +169,8 @@
private bool IsDisposed { get; set; }
///
- /// Thrown an when
- /// is true.
+ /// Throws an when
+ /// is true.
///
/// Thrown when calling this method while
/// this instance is disposed.
Index: Core/Components/src/Core.Components.BruTile/Configurations/PersistentCacheConfiguration.cs
===================================================================
diff -u -r396d39591f11aad05a6cd0e66ead43fefd9713c3 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.BruTile/Configurations/PersistentCacheConfiguration.cs (.../PersistentCacheConfiguration.cs) (revision 396d39591f11aad05a6cd0e66ead43fefd9713c3)
+++ Core/Components/src/Core.Components.BruTile/Configurations/PersistentCacheConfiguration.cs (.../PersistentCacheConfiguration.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -45,7 +45,7 @@
private FileCache fileCache;
///
- /// Initialized a new instance of .
+ /// Initializes a new instance of .
///
/// The path to the directory for this
/// cache to keep its data.
@@ -100,7 +100,7 @@
}
///
- /// Initialized the configuration based on the given .
+ /// Initializes the configuration based on the given .
///
/// The tile source to initialize for.
/// Thrown when a critical error
@@ -131,8 +131,8 @@
}
///
- /// Thrown an when
- /// is true.
+ /// Throws an when
+ /// is true.
///
/// Thrown when calling this method while
/// this instance is disposed.
Index: Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs
===================================================================
diff -u -rc7dcfeb120035a08adfe115275512e1e6c5b4931 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs (.../WmtsLayerConfiguration.cs) (revision c7dcfeb120035a08adfe115275512e1e6c5b4931)
+++ Core/Components/src/Core.Components.BruTile/Configurations/WmtsLayerConfiguration.cs (.../WmtsLayerConfiguration.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -52,7 +52,7 @@
/// The preferred tile image format, as MIME-type.
/// The directory path to the persistent tile cache.
/// Thrown when
- /// is an invalid folder path
+ /// is an invalid folder path.
/// Thrown when any input argument is null.
private WmtsLayerConfiguration(string wmtsCapabilitiesUrl, string capabilityIdentifier, string preferredFormat,
string persistentCacheDirectoryPath) : base(persistentCacheDirectoryPath)
Index: Core/Components/src/Core.Components.DotSpatial.Forms/BackgroundLayerStatusFactory.cs
===================================================================
diff -u -r13a7121f09c123fe08031a03d3aa598d9800b372 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.DotSpatial.Forms/BackgroundLayerStatusFactory.cs (.../BackgroundLayerStatusFactory.cs) (revision 13a7121f09c123fe08031a03d3aa598d9800b372)
+++ Core/Components/src/Core.Components.DotSpatial.Forms/BackgroundLayerStatusFactory.cs (.../BackgroundLayerStatusFactory.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -30,13 +30,16 @@
public static class BackgroundLayerStatusFactory
{
///
- /// Creates a new instance of corresponding to the type of .
+ /// Creates a new instance of corresponding to
+ /// the type of .
///
- /// The type of to create a for.
+ /// The type of to create a
+ /// for.
/// A new instance of .
/// Thrown when
/// is null.
- /// Thrown when the type of is not supported.
+ /// Thrown when the type of
+ /// is not supported.
internal static IBackgroundLayerStatus CreateBackgroundLayerStatus(ImageBasedMapData mapData)
{
if (mapData == null)
Index: Core/Components/src/Core.Components.DotSpatial.Forms/IBackgroundLayerStatus.cs
===================================================================
diff -u -r5b2528a7b0f0443681e0fbeba5793d2aa00c98c0 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.DotSpatial.Forms/IBackgroundLayerStatus.cs (.../IBackgroundLayerStatus.cs) (revision 5b2528a7b0f0443681e0fbeba5793d2aa00c98c0)
+++ Core/Components/src/Core.Components.DotSpatial.Forms/IBackgroundLayerStatus.cs (.../IBackgroundLayerStatus.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -25,6 +25,10 @@
namespace Core.Components.DotSpatial.Forms
{
+ ///
+ /// Interface for keeping track of various status information related to the
+ /// used to create a background layer in a map view.
+ ///
internal interface IBackgroundLayerStatus : IDisposable
{
///
@@ -34,7 +38,7 @@
bool PreviousBackgroundLayerCreationFailed { get; }
///
- /// Gets a value for the initialized background layer.
+ /// Gets the initialized background layer.
///
BruTileLayer BackgroundLayer { get; }
@@ -44,7 +48,7 @@
/// The constructed layer.
/// The data used to construct .
/// Thrown when any of the input parameters is null.
- void SuccessfullyInitializedLayer(BruTileLayer backgroundLayer, ImageBasedMapData dataSource);
+ void LayerInitializationSuccessful(BruTileLayer backgroundLayer, ImageBasedMapData dataSource);
///
/// Mark that the attempt to create a new background layer failed.
@@ -57,7 +61,7 @@
///
/// Optional: A flag to indicate
/// if recreation of with the same parameters is expected
- /// (true) or is expected to be replaced (false)
+ /// (true) or is expected to be replaced (false).
void ClearConfiguration(bool expectRecreationOfSameBackgroundLayer = false);
///
Index: Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs
===================================================================
diff -u -r1f74d23ddb19c459145cbb9aa93294695b033f5e -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs (.../MapControl.cs) (revision 1f74d23ddb19c459145cbb9aa93294695b033f5e)
+++ Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs (.../MapControl.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -42,7 +42,7 @@
namespace Core.Components.DotSpatial.Forms
{
///
- /// This class describes a map view with configured projection and function mode.
+ /// This class describes a map control with configured projection and function mode.
///
public class MapControl : Control, IMapControl
{
@@ -213,7 +213,7 @@
IsVisible = backgroundMapData.IsVisible,
Transparency = Convert.ToSingle(backgroundMapData.Transparency)
};
- backgroundLayerStatus.SuccessfullyInitializedLayer(backgroundLayer, backgroundMapData);
+ backgroundLayerStatus.LayerInitializationSuccessful(backgroundLayer, backgroundMapData);
return true;
}
Index: Core/Components/src/Core.Components.DotSpatial.Forms/WellKnownBackgroundLayerStatus.cs
===================================================================
diff -u -r6f806998a17fa46d14678596d71c9c935408b948 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.DotSpatial.Forms/WellKnownBackgroundLayerStatus.cs (.../WellKnownBackgroundLayerStatus.cs) (revision 6f806998a17fa46d14678596d71c9c935408b948)
+++ Core/Components/src/Core.Components.DotSpatial.Forms/WellKnownBackgroundLayerStatus.cs (.../WellKnownBackgroundLayerStatus.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -27,7 +27,7 @@
{
///
/// Class responsible for keeping track of various status information related to the
- /// used to create a background layer in a map view.
+ /// used to create a background layer in a map control.
///
internal class WellKnownBackgroundLayerStatus : IBackgroundLayerStatus
{
@@ -40,7 +40,7 @@
BackgroundLayer?.Dispose();
}
- public void SuccessfullyInitializedLayer(BruTileLayer backgroundLayer, ImageBasedMapData dataSource)
+ public void LayerInitializationSuccessful(BruTileLayer backgroundLayer, ImageBasedMapData dataSource)
{
if (backgroundLayer == null)
{
Index: Core/Components/src/Core.Components.DotSpatial.Forms/WmtsBackgroundLayerStatus.cs
===================================================================
diff -u -r5b2528a7b0f0443681e0fbeba5793d2aa00c98c0 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/src/Core.Components.DotSpatial.Forms/WmtsBackgroundLayerStatus.cs (.../WmtsBackgroundLayerStatus.cs) (revision 5b2528a7b0f0443681e0fbeba5793d2aa00c98c0)
+++ Core/Components/src/Core.Components.DotSpatial.Forms/WmtsBackgroundLayerStatus.cs (.../WmtsBackgroundLayerStatus.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -27,7 +27,7 @@
{
///
/// Class responsible for keeping track of various status information related to the
- /// used to create a background layer in a map view.
+ /// used to create a background layer in a map control.
///
internal class WmtsBackgroundLayerStatus : IBackgroundLayerStatus
{
@@ -40,7 +40,7 @@
BackgroundLayer?.Dispose();
}
- public void SuccessfullyInitializedLayer(BruTileLayer backgroundLayer, ImageBasedMapData dataSource)
+ public void LayerInitializationSuccessful(BruTileLayer backgroundLayer, ImageBasedMapData dataSource)
{
if (backgroundLayer == null)
{
Index: Core/Components/test/Core.Components.DotSpatial.Forms.Test/WellKnownBackgroundLayerStatusTest.cs
===================================================================
diff -u -ra5c5133ec23681679e77ff31b89e6410d366f247 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/test/Core.Components.DotSpatial.Forms.Test/WellKnownBackgroundLayerStatusTest.cs (.../WellKnownBackgroundLayerStatusTest.cs) (revision a5c5133ec23681679e77ff31b89e6410d366f247)
+++ Core/Components/test/Core.Components.DotSpatial.Forms.Test/WellKnownBackgroundLayerStatusTest.cs (.../WellKnownBackgroundLayerStatusTest.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -97,7 +97,7 @@
var mapData1 = new WellKnownTileSourceMapData(source);
var mapData2 = new WellKnownTileSourceMapData(source);
- layerStatus.SuccessfullyInitializedLayer(layer, mapData1);
+ layerStatus.LayerInitializationSuccessful(layer, mapData1);
// Call
bool isSame = layerStatus.HasSameConfiguration(mapData2);
@@ -110,15 +110,15 @@
}
[Test]
- public void SuccessfullyInitializedLayer_LayerNull_ThrowArgumentNullException()
+ public void LayerInitializationSuccessful_LayerNull_ThrowArgumentNullException()
{
// Setup
using (var layerStatus = new WellKnownBackgroundLayerStatus())
{
var dataSource = new WellKnownTileSourceMapData(new Random(789).NextEnum());
// Call
- TestDelegate call = () => layerStatus.SuccessfullyInitializedLayer(null, dataSource);
+ TestDelegate call = () => layerStatus.LayerInitializationSuccessful(null, dataSource);
// Assert
string paramName = Assert.Throws(call).ParamName;
@@ -127,7 +127,7 @@
}
[Test]
- public void SuccessfullyInitializedLayer_MapDataNull_ThrowArgumentNullException()
+ public void LayerInitializationSuccessful_MapDataNull_ThrowArgumentNullException()
{
// Setup
var mocks = new MockRepository();
@@ -139,7 +139,7 @@
using (var layerStatus = new WellKnownBackgroundLayerStatus())
{
// Call
- TestDelegate call = () => layerStatus.SuccessfullyInitializedLayer(layer, null);
+ TestDelegate call = () => layerStatus.LayerInitializationSuccessful(layer, null);
// Assert
string paramName = Assert.Throws(call).ParamName;
@@ -148,7 +148,7 @@
}
[Test]
- public void SuccessfullyInitializedLayer_MapDataNotWellKnownMapData_SetCreationFailedTrue()
+ public void LayerInitializationSuccessful_MapDataNotWellKnownMapData_SetCreationFailedTrue()
{
// Setup
var mocks = new MockRepository();
@@ -162,15 +162,15 @@
var mapData = new SimpleImageBasedMapData();
// Call
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Assert
Assert.IsTrue(layerStatus.PreviousBackgroundLayerCreationFailed);
}
}
[Test]
- public void SuccessfullyInitializedLayer_InitializationPreviouslyFailed_PreviousBackgroundLayerCreationFailedFalse()
+ public void LayerInitializationSuccessful_InitializationPreviouslyFailed_PreviousBackgroundLayerCreationFailedFalse()
{
// Setup
var mocks = new MockRepository();
@@ -186,7 +186,7 @@
var mapData = new WellKnownTileSourceMapData(new Random(789).NextEnum());
// Call
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Assert
Assert.IsFalse(layerStatus.PreviousBackgroundLayerCreationFailed);
@@ -220,7 +220,7 @@
using (var layerStatus = new WellKnownBackgroundLayerStatus())
{
var mapData = new WellKnownTileSourceMapData(new Random(789).NextEnum());
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Call
layerStatus.LayerInitializationFailed();
@@ -244,7 +244,7 @@
using (var layerStatus = new WellKnownBackgroundLayerStatus())
{
var mapData = new WellKnownTileSourceMapData(new Random(789).NextEnum());
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Call
layerStatus.ClearConfiguration();
Index: Core/Components/test/Core.Components.DotSpatial.Forms.Test/WmtsBackgroundLayerStatusTest.cs
===================================================================
diff -u -ra5c5133ec23681679e77ff31b89e6410d366f247 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/test/Core.Components.DotSpatial.Forms.Test/WmtsBackgroundLayerStatusTest.cs (.../WmtsBackgroundLayerStatusTest.cs) (revision a5c5133ec23681679e77ff31b89e6410d366f247)
+++ Core/Components/test/Core.Components.DotSpatial.Forms.Test/WmtsBackgroundLayerStatusTest.cs (.../WmtsBackgroundLayerStatusTest.cs) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -134,7 +134,7 @@
var mapData1 = WmtsMapData.CreateDefaultPdokMapData();
var mapData2 = WmtsMapData.CreateDefaultPdokMapData();
- layerStatus.SuccessfullyInitializedLayer(layer, mapData1);
+ layerStatus.LayerInitializationSuccessful(layer, mapData1);
// Call
bool isSame = layerStatus.HasSameConfiguration(mapData2);
@@ -163,7 +163,7 @@
{
var mapData = WmtsMapData.CreateDefaultPdokMapData();
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Call
bool isSame = layerStatus.HasSameConfiguration(otherData);
@@ -176,15 +176,15 @@
}
[Test]
- public void SuccessfullyInitializedLayer_LayerNull_ThrowArgumentNullException()
+ public void LayerInitializationSuccessful_LayerNull_ThrowArgumentNullException()
{
// Setup
using (var layerStatus = new WmtsBackgroundLayerStatus())
{
var dataSource = WmtsMapData.CreateDefaultPdokMapData();
// Call
- TestDelegate call = () => layerStatus.SuccessfullyInitializedLayer(null, dataSource);
+ TestDelegate call = () => layerStatus.LayerInitializationSuccessful(null, dataSource);
// Assert
string paramName = Assert.Throws(call).ParamName;
@@ -193,7 +193,7 @@
}
[Test]
- public void SuccessfullyInitializedLayer_MapDataNull_ThrowArgumentNullException()
+ public void LayerInitializationSuccessful_MapDataNull_ThrowArgumentNullException()
{
// Setup
var mocks = new MockRepository();
@@ -205,7 +205,7 @@
using (var layerStatus = new WmtsBackgroundLayerStatus())
{
// Call
- TestDelegate call = () => layerStatus.SuccessfullyInitializedLayer(layer, null);
+ TestDelegate call = () => layerStatus.LayerInitializationSuccessful(layer, null);
// Assert
string paramName = Assert.Throws(call).ParamName;
@@ -214,7 +214,7 @@
}
[Test]
- public void SuccessfullyInitializedLayer_MapDataNotWmtsMapData_SetCreationFailedTrue()
+ public void LayerInitializationSuccessful_MapDataNotWmtsMapData_SetCreationFailedTrue()
{
// Setup
var mocks = new MockRepository();
@@ -228,15 +228,15 @@
var mapData = new SimpleImageBasedMapData();
// Call
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Assert
Assert.IsTrue(layerStatus.PreviousBackgroundLayerCreationFailed);
}
}
[Test]
- public void SuccessfullyInitializedLayer_InitializationPreviouslyFailed_PreviousBackgroundLayerCreationFailedFalse()
+ public void LayerInitializationSuccessful_InitializationPreviouslyFailed_PreviousBackgroundLayerCreationFailedFalse()
{
// Setup
var mocks = new MockRepository();
@@ -255,7 +255,7 @@
var mapData = WmtsMapData.CreateDefaultPdokMapData();
// Call
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Assert
Assert.IsFalse(layerStatus.PreviousBackgroundLayerCreationFailed);
@@ -289,7 +289,7 @@
using (var layerStatus = new WmtsBackgroundLayerStatus())
{
var mapData = WmtsMapData.CreateDefaultPdokMapData();
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Call
layerStatus.LayerInitializationFailed();
@@ -313,7 +313,7 @@
using (var layerStatus = new WmtsBackgroundLayerStatus())
{
var mapData = WmtsMapData.CreateDefaultPdokMapData();
- layerStatus.SuccessfullyInitializedLayer(layer, mapData);
+ layerStatus.LayerInitializationSuccessful(layer, mapData);
// Call
layerStatus.ClearConfiguration();
Index: Core/Components/test/Core.Components.Gis.Test/Core.Components.Gis.Test.csproj
===================================================================
diff -u -rd00d30719d5bffa635f40b975e490af4e4c298e9 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/test/Core.Components.Gis.Test/Core.Components.Gis.Test.csproj (.../Core.Components.Gis.Test.csproj) (revision d00d30719d5bffa635f40b975e490af4e4c298e9)
+++ Core/Components/test/Core.Components.Gis.Test/Core.Components.Gis.Test.csproj (.../Core.Components.Gis.Test.csproj) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -38,10 +38,6 @@
..\..\..\..\packages\NUnit.3.6.0\lib\net40\nunit.framework.dll
True
-
- ..\..\..\..\packages\RhinoMocks.3.6.1\lib\net\Rhino.Mocks.dll
- True
-
Index: Core/Components/test/Core.Components.Gis.Test/packages.config
===================================================================
diff -u -r31012b85637f7fcf6b28f498fc996edcda2eb505 -r797872a6e0525f12c0f84b03e996a9d42630ad0b
--- Core/Components/test/Core.Components.Gis.Test/packages.config (.../packages.config) (revision 31012b85637f7fcf6b28f498fc996edcda2eb505)
+++ Core/Components/test/Core.Components.Gis.Test/packages.config (.../packages.config) (revision 797872a6e0525f12c0f84b03e996a9d42630ad0b)
@@ -23,5 +23,4 @@
-->
-
\ No newline at end of file