From 057fd82feb34b9c79b16e3ce5a1ab7234b637afe Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Thu, 27 Feb 2025 18:46:32 +0100 Subject: [PATCH] Removed code file headers --- Caches/FileDbCache/FileDbCache.cs | 10 +++------- Caches/SQLiteCache/SQLiteCache.cs | 10 +++------- MBTiles/Shared/MBTileLayer.cs | 6 +----- MBTiles/Shared/MBTileSource.cs | 6 +----- .../Avalonia/DependencyPropertyHelper.Avalonia.cs | 6 +----- MapControl/Avalonia/GeoImage.Avalonia.cs | 6 +----- MapControl/Avalonia/ImageLoader.Avalonia.cs | 6 +----- MapControl/Avalonia/LocationAnimator.Avalonia.cs | 6 +----- MapControl/Avalonia/Map.Avalonia.cs | 6 +----- MapControl/Avalonia/MapBase.Avalonia.cs | 6 +----- MapControl/Avalonia/MapContentControl.Avalonia.cs | 6 +----- MapControl/Avalonia/MapGraticule.Avalonia.cs | 6 +----- MapControl/Avalonia/MapImageLayer.Avalonia.cs | 6 +----- MapControl/Avalonia/MapItem.Avalonia.cs | 6 +----- MapControl/Avalonia/MapItemsControl.Avalonia.cs | 6 +----- MapControl/Avalonia/MapPanel.Avalonia.cs | 6 +----- MapControl/Avalonia/MapPath.Avalonia.cs | 6 +----- MapControl/Avalonia/MapPolypoint.Avalonia.cs | 6 +----- MapControl/Avalonia/PushpinBorder.Avalonia.cs | 6 +----- MapControl/Avalonia/Tile.Avalonia.cs | 6 +----- MapControl/Avalonia/TileImageLoader.Avalonia.cs | 6 +----- MapControl/Avalonia/ViewTransform.Avalonia.cs | 6 +----- MapControl/Shared/AutoEquirectangularProjection.cs | 6 +----- MapControl/Shared/AzimuthalEquidistantProjection.cs | 6 +----- MapControl/Shared/AzimuthalProjection.cs | 6 +----- MapControl/Shared/BingMapsTileLayer.cs | 6 +----- MapControl/Shared/BingMapsTileSource.cs | 6 +----- MapControl/Shared/BoundingBox.cs | 6 +----- MapControl/Shared/BoundingBoxTileSource.cs | 6 +----- MapControl/Shared/CenteredBoundingBox.cs | 6 +----- MapControl/Shared/DispatcherTimerHelper.cs | 6 +----- MapControl/Shared/EquirectangularProjection.cs | 6 +----- MapControl/Shared/Etrs89UtmProjection.cs | 6 +----- MapControl/Shared/FilePath.cs | 6 +----- MapControl/Shared/GeoImage.cs | 6 +----- MapControl/Shared/GnomonicProjection.cs | 6 +----- MapControl/Shared/GroundOverlay.cs | 6 +----- MapControl/Shared/ImageFileCache.cs | 6 +----- MapControl/Shared/ImageLoader.cs | 6 +----- MapControl/Shared/LatLonBox.cs | 6 +----- MapControl/Shared/Location.cs | 6 +----- MapControl/Shared/LocationCollection.cs | 6 +----- MapControl/Shared/MapBase.cs | 6 +----- MapControl/Shared/MapBorderPanel.cs | 6 +----- MapControl/Shared/MapGraticule.cs | 6 +----- MapControl/Shared/MapImageLayer.cs | 6 +----- MapControl/Shared/MapItem.cs | 6 +----- MapControl/Shared/MapItemsControl.cs | 6 +----- MapControl/Shared/MapMultiPolygon.cs | 6 +----- MapControl/Shared/MapOverlaysPanel.cs | 6 +----- MapControl/Shared/MapPanel.cs | 6 +----- MapControl/Shared/MapPath.cs | 6 +----- MapControl/Shared/MapPolygon.cs | 6 +----- MapControl/Shared/MapPolyline.cs | 6 +----- MapControl/Shared/MapProjection.cs | 6 +----- MapControl/Shared/MapProjectionFactory.cs | 6 +----- MapControl/Shared/MapScale.cs | 6 +----- MapControl/Shared/MapTileLayer.cs | 6 +----- MapControl/Shared/MapTileLayerBase.cs | 6 +----- MapControl/Shared/Nad27UtmProjection.cs | 6 +----- MapControl/Shared/Nad83UtmProjection.cs | 6 +----- MapControl/Shared/OrthographicProjection.cs | 6 +----- MapControl/Shared/PolarStereographicProjection.cs | 6 +----- MapControl/Shared/PolygonCollection.cs | 6 +----- MapControl/Shared/PushpinBorder.cs | 6 +----- MapControl/Shared/StereographicProjection.cs | 6 +----- MapControl/Shared/Tile.cs | 6 +----- MapControl/Shared/TileCollection.cs | 6 +----- MapControl/Shared/TileImageLoader.cs | 6 +----- MapControl/Shared/TileMatrix.cs | 6 +----- MapControl/Shared/TileSource.cs | 6 +----- MapControl/Shared/TransverseMercatorProjection.cs | 6 +----- MapControl/Shared/TypeConverters.cs | 6 +----- MapControl/Shared/ViewTransform.cs | 6 +----- MapControl/Shared/ViewportChangedEventArgs.cs | 6 +----- MapControl/Shared/WebMercatorProjection.cs | 6 +----- MapControl/Shared/Wgs84UtmProjection.cs | 6 +----- MapControl/Shared/WmsImageLayer.cs | 6 +----- MapControl/Shared/WmtsCapabilities.cs | 6 +----- MapControl/Shared/WmtsTileLayer.cs | 6 +----- MapControl/Shared/WmtsTileMatrix.cs | 6 +----- MapControl/Shared/WmtsTileMatrixLayer.cs | 6 +----- MapControl/Shared/WmtsTileMatrixSet.cs | 6 +----- MapControl/Shared/WmtsTileSource.cs | 6 +----- MapControl/Shared/WorldMercatorProjection.cs | 6 +----- MapControl/UWP/TileImageLoader.UWP.cs | 6 +----- MapControl/WPF/DependencyPropertyHelper.WPF.cs | 6 +----- MapControl/WPF/GeoImage.WPF.cs | 6 +----- MapControl/WPF/ImageLoader.WPF.cs | 6 +----- MapControl/WPF/LocationAnimation.WPF.cs | 6 +----- MapControl/WPF/Map.WPF.cs | 6 +----- MapControl/WPF/MapBase.WPF.cs | 6 +----- MapControl/WPF/MapContentControl.WPF.cs | 6 +----- MapControl/WPF/MapGraticule.WPF.cs | 6 +----- MapControl/WPF/MapImageLayer.WPF.cs | 6 +----- MapControl/WPF/MapItem.WPF.cs | 6 +----- MapControl/WPF/MapItemsControl.WPF.cs | 6 +----- MapControl/WPF/MapPanel.WPF.cs | 6 +----- MapControl/WPF/MapPath.WPF.cs | 6 +----- MapControl/WPF/MapPolypoint.WPF.cs | 6 +----- MapControl/WPF/PolygonCollection.WPF.cs | 6 +----- MapControl/WPF/PushpinBorder.WPF.cs | 6 +----- MapControl/WPF/Tile.WPF.cs | 6 +----- MapControl/WPF/TileImageLoader.WPF.cs | 6 +----- MapControl/WinUI/DependencyPropertyHelper.WinUI.cs | 6 +----- MapControl/WinUI/GeoImage.WinUI.cs | 6 +----- MapControl/WinUI/ImageLoader.WinUI.cs | 6 +----- MapControl/WinUI/Map.WinUI.cs | 6 +----- MapControl/WinUI/MapBase.WinUI.cs | 6 +----- MapControl/WinUI/MapContentControl.WinUI.cs | 6 +----- MapControl/WinUI/MapGraticule.WinUI.cs | 6 +----- MapControl/WinUI/MapImageLayer.WinUI.cs | 6 +----- MapControl/WinUI/MapItem.WinUI.cs | 6 +----- MapControl/WinUI/MapItemsControl.WinUI.cs | 6 +----- MapControl/WinUI/MapPanel.WinUI.cs | 6 +----- MapControl/WinUI/MapPath.WinUI.cs | 6 +----- MapControl/WinUI/MapPolypoint.WinUI.cs | 6 +----- MapControl/WinUI/Matrix.WinUI.cs | 6 +----- MapControl/WinUI/Point.WinUI.cs | 6 +----- MapControl/WinUI/PushpinBorder.WinUI.cs | 6 +----- MapControl/WinUI/Rect.WinUI.cs | 6 +----- MapControl/WinUI/Tile.WinUI.cs | 6 +----- MapControl/WinUI/TileImageLoader.WinUI.cs | 6 +----- MapProjections/Shared/Ed50UtmProjection.cs | 6 +----- MapProjections/Shared/Etrs89UtmProjection.cs | 6 +----- MapProjections/Shared/GeoApiProjection.cs | 6 +----- MapProjections/Shared/GeoApiProjectionFactory.cs | 6 +----- MapProjections/Shared/Nad27UtmProjection.cs | 6 +----- MapProjections/Shared/Nad83UtmProjection.cs | 6 +----- MapProjections/Shared/WebMercatorProjection.cs | 6 +----- MapProjections/Shared/Wgs84UtmProjection.cs | 6 +----- MapProjections/Shared/WorldMercatorProjection.cs | 6 +----- MapUiTools/Avalonia/MenuButton.Avalonia.cs | 6 +----- MapUiTools/Shared/MapLayersMenuButton.cs | 6 +----- MapUiTools/Shared/MapProjectionsMenuButton.cs | 6 +----- MapUiTools/WPF/MenuButton.WPF.cs | 6 +----- MapUiTools/WinUI/MenuButton.WinUI.cs | 6 +----- SampleApps/Shared/HyperlinkText.cs | 6 +----- 138 files changed, 142 insertions(+), 694 deletions(-) diff --git a/Caches/FileDbCache/FileDbCache.cs b/Caches/FileDbCache/FileDbCache.cs index f84b72e4..fb093cff 100644 --- a/Caches/FileDbCache/FileDbCache.cs +++ b/Caches/FileDbCache/FileDbCache.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using FileDbNs; +using FileDbNs; using Microsoft.Extensions.Caching.Distributed; using System; using System.Diagnostics; @@ -205,12 +201,12 @@ namespace MapControl.Caching if (value == null) { - throw new ArgumentNullException($"The {nameof(value)} argument must not be null.", nameof(value)); + throw new ArgumentNullException(nameof(value), $"The {nameof(value)} argument must not be null."); } if (options == null) { - throw new ArgumentNullException($"The {nameof(options)} argument must not be null.", nameof(options)); + throw new ArgumentNullException(nameof(options), $"The {nameof(options)} argument must not be null."); } } } diff --git a/Caches/SQLiteCache/SQLiteCache.cs b/Caches/SQLiteCache/SQLiteCache.cs index a0a3d823..88f12758 100644 --- a/Caches/SQLiteCache/SQLiteCache.cs +++ b/Caches/SQLiteCache/SQLiteCache.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Microsoft.Extensions.Caching.Distributed; +using Microsoft.Extensions.Caching.Distributed; using System; using System.Data.SQLite; using System.Diagnostics; @@ -243,12 +239,12 @@ namespace MapControl.Caching if (value == null) { - throw new ArgumentNullException($"The {nameof(value)} argument must not be null.", nameof(value)); + throw new ArgumentNullException(nameof(value), $"The {nameof(value)} argument must not be null."); } if (options == null) { - throw new ArgumentNullException($"The {nameof(options)} argument must not be null.", nameof(options)); + throw new ArgumentNullException(nameof(options), $"The {nameof(options)} argument must not be null."); } } } diff --git a/MBTiles/Shared/MBTileLayer.cs b/MBTiles/Shared/MBTileLayer.cs index 9e97120b..9e2a5061 100644 --- a/MBTiles/Shared/MBTileLayer.cs +++ b/MBTiles/Shared/MBTileLayer.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Diagnostics; using System.Threading.Tasks; #if WPF diff --git a/MBTiles/Shared/MBTileSource.cs b/MBTiles/Shared/MBTileSource.cs index 2c6fbe42..2efc02bf 100644 --- a/MBTiles/Shared/MBTileSource.cs +++ b/MBTiles/Shared/MBTileSource.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Data.SQLite; using System.Diagnostics; diff --git a/MapControl/Avalonia/DependencyPropertyHelper.Avalonia.cs b/MapControl/Avalonia/DependencyPropertyHelper.Avalonia.cs index f4d770a1..be6e38d9 100644 --- a/MapControl/Avalonia/DependencyPropertyHelper.Avalonia.cs +++ b/MapControl/Avalonia/DependencyPropertyHelper.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #pragma warning disable AVP1001 // The same AvaloniaProperty should not be registered twice diff --git a/MapControl/Avalonia/GeoImage.Avalonia.cs b/MapControl/Avalonia/GeoImage.Avalonia.cs index 13d1c19f..9ca061a0 100644 --- a/MapControl/Avalonia/GeoImage.Avalonia.cs +++ b/MapControl/Avalonia/GeoImage.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Threading.Tasks; namespace MapControl diff --git a/MapControl/Avalonia/ImageLoader.Avalonia.cs b/MapControl/Avalonia/ImageLoader.Avalonia.cs index 61370192..17a67fa9 100644 --- a/MapControl/Avalonia/ImageLoader.Avalonia.cs +++ b/MapControl/Avalonia/ImageLoader.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.IO; using System.Threading.Tasks; diff --git a/MapControl/Avalonia/LocationAnimator.Avalonia.cs b/MapControl/Avalonia/LocationAnimator.Avalonia.cs index 38378f13..4b86c8e7 100644 --- a/MapControl/Avalonia/LocationAnimator.Avalonia.cs +++ b/MapControl/Avalonia/LocationAnimator.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { public class LocationAnimator : InterpolatingAnimator { diff --git a/MapControl/Avalonia/Map.Avalonia.cs b/MapControl/Avalonia/Map.Avalonia.cs index a8786032..18fe7b3e 100644 --- a/MapControl/Avalonia/Map.Avalonia.cs +++ b/MapControl/Avalonia/Map.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Avalonia/MapBase.Avalonia.cs b/MapControl/Avalonia/MapBase.Avalonia.cs index c40af495..041a1551 100644 --- a/MapControl/Avalonia/MapBase.Avalonia.cs +++ b/MapControl/Avalonia/MapBase.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -global using Avalonia; +global using Avalonia; global using Avalonia.Animation; global using Avalonia.Animation.Easings; global using Avalonia.Controls; diff --git a/MapControl/Avalonia/MapContentControl.Avalonia.cs b/MapControl/Avalonia/MapContentControl.Avalonia.cs index 91341bd2..7308b657 100644 --- a/MapControl/Avalonia/MapContentControl.Avalonia.cs +++ b/MapControl/Avalonia/MapContentControl.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { /// /// ContentControl placed on a MapPanel at a geographic location specified by the Location property. diff --git a/MapControl/Avalonia/MapGraticule.Avalonia.cs b/MapControl/Avalonia/MapGraticule.Avalonia.cs index 102f682b..ea7c8dfd 100644 --- a/MapControl/Avalonia/MapGraticule.Avalonia.cs +++ b/MapControl/Avalonia/MapGraticule.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Avalonia.Controls.Shapes; +using Avalonia.Controls.Shapes; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/MapControl/Avalonia/MapImageLayer.Avalonia.cs b/MapControl/Avalonia/MapImageLayer.Avalonia.cs index 5d4f37d6..3a16a6aa 100644 --- a/MapControl/Avalonia/MapImageLayer.Avalonia.cs +++ b/MapControl/Avalonia/MapImageLayer.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Threading.Tasks; +using System.Threading.Tasks; namespace MapControl { diff --git a/MapControl/Avalonia/MapItem.Avalonia.cs b/MapControl/Avalonia/MapItem.Avalonia.cs index db37e73c..45300ad6 100644 --- a/MapControl/Avalonia/MapItem.Avalonia.cs +++ b/MapControl/Avalonia/MapItem.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { public partial class MapItem { diff --git a/MapControl/Avalonia/MapItemsControl.Avalonia.cs b/MapControl/Avalonia/MapItemsControl.Avalonia.cs index 94146326..45b7c984 100644 --- a/MapControl/Avalonia/MapItemsControl.Avalonia.cs +++ b/MapControl/Avalonia/MapItemsControl.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Avalonia.Controls.Presenters; +using Avalonia.Controls.Presenters; using Avalonia.Controls.Templates; namespace MapControl diff --git a/MapControl/Avalonia/MapPanel.Avalonia.cs b/MapControl/Avalonia/MapPanel.Avalonia.cs index 698b6599..83b794b1 100644 --- a/MapControl/Avalonia/MapPanel.Avalonia.cs +++ b/MapControl/Avalonia/MapPanel.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; namespace MapControl { diff --git a/MapControl/Avalonia/MapPath.Avalonia.cs b/MapControl/Avalonia/MapPath.Avalonia.cs index c3832c5b..5977ed99 100644 --- a/MapControl/Avalonia/MapPath.Avalonia.cs +++ b/MapControl/Avalonia/MapPath.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Avalonia.Controls.Shapes; +using Avalonia.Controls.Shapes; namespace MapControl { diff --git a/MapControl/Avalonia/MapPolypoint.Avalonia.cs b/MapControl/Avalonia/MapPolypoint.Avalonia.cs index 07bb4732..e99a906c 100644 --- a/MapControl/Avalonia/MapPolypoint.Avalonia.cs +++ b/MapControl/Avalonia/MapPolypoint.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/MapControl/Avalonia/PushpinBorder.Avalonia.cs b/MapControl/Avalonia/PushpinBorder.Avalonia.cs index 32257f2d..19d6ce00 100644 --- a/MapControl/Avalonia/PushpinBorder.Avalonia.cs +++ b/MapControl/Avalonia/PushpinBorder.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Avalonia/Tile.Avalonia.cs b/MapControl/Avalonia/Tile.Avalonia.cs index 1e6be88e..cb797c1d 100644 --- a/MapControl/Avalonia/Tile.Avalonia.cs +++ b/MapControl/Avalonia/Tile.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Avalonia/TileImageLoader.Avalonia.cs b/MapControl/Avalonia/TileImageLoader.Avalonia.cs index 228b24a4..715b67ed 100644 --- a/MapControl/Avalonia/TileImageLoader.Avalonia.cs +++ b/MapControl/Avalonia/TileImageLoader.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Threading.Tasks; namespace MapControl diff --git a/MapControl/Avalonia/ViewTransform.Avalonia.cs b/MapControl/Avalonia/ViewTransform.Avalonia.cs index 26d20abb..9e623b67 100644 --- a/MapControl/Avalonia/ViewTransform.Avalonia.cs +++ b/MapControl/Avalonia/ViewTransform.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { public partial class ViewTransform { diff --git a/MapControl/Shared/AutoEquirectangularProjection.cs b/MapControl/Shared/AutoEquirectangularProjection.cs index aeb558d3..2f52157c 100644 --- a/MapControl/Shared/AutoEquirectangularProjection.cs +++ b/MapControl/Shared/AutoEquirectangularProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/AzimuthalEquidistantProjection.cs b/MapControl/Shared/AzimuthalEquidistantProjection.cs index e5cc1c5f..67c9d458 100644 --- a/MapControl/Shared/AzimuthalEquidistantProjection.cs +++ b/MapControl/Shared/AzimuthalEquidistantProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/AzimuthalProjection.cs b/MapControl/Shared/AzimuthalProjection.cs index 71215fdd..62a39f19 100644 --- a/MapControl/Shared/AzimuthalProjection.cs +++ b/MapControl/Shared/AzimuthalProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/BingMapsTileLayer.cs b/MapControl/Shared/BingMapsTileLayer.cs index daedf08e..2333881b 100644 --- a/MapControl/Shared/BingMapsTileLayer.cs +++ b/MapControl/Shared/BingMapsTileLayer.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Diagnostics; using System.Globalization; using System.Linq; diff --git a/MapControl/Shared/BingMapsTileSource.cs b/MapControl/Shared/BingMapsTileSource.cs index c28c7feb..2bc30541 100644 --- a/MapControl/Shared/BingMapsTileSource.cs +++ b/MapControl/Shared/BingMapsTileSource.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/BoundingBox.cs b/MapControl/Shared/BoundingBox.cs index fd655919..56947875 100644 --- a/MapControl/Shared/BoundingBox.cs +++ b/MapControl/Shared/BoundingBox.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Globalization; namespace MapControl diff --git a/MapControl/Shared/BoundingBoxTileSource.cs b/MapControl/Shared/BoundingBoxTileSource.cs index 52b0a0cd..b28d7846 100644 --- a/MapControl/Shared/BoundingBoxTileSource.cs +++ b/MapControl/Shared/BoundingBoxTileSource.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Globalization; using System.Threading.Tasks; #if WPF diff --git a/MapControl/Shared/CenteredBoundingBox.cs b/MapControl/Shared/CenteredBoundingBox.cs index 70d34205..089263fe 100644 --- a/MapControl/Shared/CenteredBoundingBox.cs +++ b/MapControl/Shared/CenteredBoundingBox.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/DispatcherTimerHelper.cs b/MapControl/Shared/DispatcherTimerHelper.cs index 87604a75..d6276be5 100644 --- a/MapControl/Shared/DispatcherTimerHelper.cs +++ b/MapControl/Shared/DispatcherTimerHelper.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if WPF +#if WPF using System.Windows; using System.Windows.Threading; #elif UWP diff --git a/MapControl/Shared/EquirectangularProjection.cs b/MapControl/Shared/EquirectangularProjection.cs index b186db5b..7a32fec9 100644 --- a/MapControl/Shared/EquirectangularProjection.cs +++ b/MapControl/Shared/EquirectangularProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/Etrs89UtmProjection.cs b/MapControl/Shared/Etrs89UtmProjection.cs index fbd6316d..44673444 100644 --- a/MapControl/Shared/Etrs89UtmProjection.cs +++ b/MapControl/Shared/Etrs89UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/FilePath.cs b/MapControl/Shared/FilePath.cs index b3f9d557..28116629 100644 --- a/MapControl/Shared/FilePath.cs +++ b/MapControl/Shared/FilePath.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { public static class FilePath { diff --git a/MapControl/Shared/GeoImage.cs b/MapControl/Shared/GeoImage.cs index 36123450..6d7eb441 100644 --- a/MapControl/Shared/GeoImage.cs +++ b/MapControl/Shared/GeoImage.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Diagnostics; using System.Globalization; using System.IO; diff --git a/MapControl/Shared/GnomonicProjection.cs b/MapControl/Shared/GnomonicProjection.cs index 1c49fcbd..3e826200 100644 --- a/MapControl/Shared/GnomonicProjection.cs +++ b/MapControl/Shared/GnomonicProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/GroundOverlay.cs b/MapControl/Shared/GroundOverlay.cs index d38c04a4..2e0bcad2 100644 --- a/MapControl/Shared/GroundOverlay.cs +++ b/MapControl/Shared/GroundOverlay.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; diff --git a/MapControl/Shared/ImageFileCache.cs b/MapControl/Shared/ImageFileCache.cs index 128b0253..8a42887a 100644 --- a/MapControl/Shared/ImageFileCache.cs +++ b/MapControl/Shared/ImageFileCache.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Microsoft.Extensions.Caching.Distributed; +using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using System; diff --git a/MapControl/Shared/ImageLoader.cs b/MapControl/Shared/ImageLoader.cs index 0b797cae..d09715ff 100644 --- a/MapControl/Shared/ImageLoader.cs +++ b/MapControl/Shared/ImageLoader.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; diff --git a/MapControl/Shared/LatLonBox.cs b/MapControl/Shared/LatLonBox.cs index 5badfb26..8a26580a 100644 --- a/MapControl/Shared/LatLonBox.cs +++ b/MapControl/Shared/LatLonBox.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { /// /// A BoundingBox with optional rotation. Used by GeoImage and GroundOverlay. diff --git a/MapControl/Shared/Location.cs b/MapControl/Shared/Location.cs index 35d6db93..29ab2386 100644 --- a/MapControl/Shared/Location.cs +++ b/MapControl/Shared/Location.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Globalization; namespace MapControl diff --git a/MapControl/Shared/LocationCollection.cs b/MapControl/Shared/LocationCollection.cs index 5776dd57..8ffc5f6d 100644 --- a/MapControl/Shared/LocationCollection.cs +++ b/MapControl/Shared/LocationCollection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/MapControl/Shared/MapBase.cs b/MapControl/Shared/MapBase.cs index 5be145c5..66a55828 100644 --- a/MapControl/Shared/MapBase.cs +++ b/MapControl/Shared/MapBase.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; using System.Windows.Media; diff --git a/MapControl/Shared/MapBorderPanel.cs b/MapControl/Shared/MapBorderPanel.cs index e3615282..973817eb 100644 --- a/MapControl/Shared/MapBorderPanel.cs +++ b/MapControl/Shared/MapBorderPanel.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if WPF +#if WPF using System.Windows; #elif UWP using Windows.UI.Xaml; diff --git a/MapControl/Shared/MapGraticule.cs b/MapControl/Shared/MapGraticule.cs index 9dbfee20..b7df2d24 100644 --- a/MapControl/Shared/MapGraticule.cs +++ b/MapControl/Shared/MapGraticule.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/MapControl/Shared/MapImageLayer.cs b/MapControl/Shared/MapImageLayer.cs index 073343ea..feca84a4 100644 --- a/MapControl/Shared/MapImageLayer.cs +++ b/MapControl/Shared/MapImageLayer.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; diff --git a/MapControl/Shared/MapItem.cs b/MapControl/Shared/MapItem.cs index a54c9e08..e369cbf5 100644 --- a/MapControl/Shared/MapItem.cs +++ b/MapControl/Shared/MapItem.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if WPF +#if WPF using System.Windows.Controls; using System.Windows.Media; #elif UWP diff --git a/MapControl/Shared/MapItemsControl.cs b/MapControl/Shared/MapItemsControl.cs index e2d3a603..00edd47e 100644 --- a/MapControl/Shared/MapItemsControl.cs +++ b/MapControl/Shared/MapItemsControl.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; using System.Windows.Controls; diff --git a/MapControl/Shared/MapMultiPolygon.cs b/MapControl/Shared/MapMultiPolygon.cs index ac287d40..9fa47f61 100644 --- a/MapControl/Shared/MapMultiPolygon.cs +++ b/MapControl/Shared/MapMultiPolygon.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; #if WPF using System.Windows; #elif UWP diff --git a/MapControl/Shared/MapOverlaysPanel.cs b/MapControl/Shared/MapOverlaysPanel.cs index ad5cb625..b9f4ebcf 100644 --- a/MapControl/Shared/MapOverlaysPanel.cs +++ b/MapControl/Shared/MapOverlaysPanel.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; diff --git a/MapControl/Shared/MapPanel.cs b/MapControl/Shared/MapPanel.cs index 87126ced..f3a85a2b 100644 --- a/MapControl/Shared/MapPanel.cs +++ b/MapControl/Shared/MapPanel.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Diagnostics; #if WPF using System.Windows; diff --git a/MapControl/Shared/MapPath.cs b/MapControl/Shared/MapPath.cs index 148dfdd5..19b0dd20 100644 --- a/MapControl/Shared/MapPath.cs +++ b/MapControl/Shared/MapPath.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if WPF +#if WPF using System.Windows; #elif UWP using Windows.UI.Xaml; diff --git a/MapControl/Shared/MapPolygon.cs b/MapControl/Shared/MapPolygon.cs index 9f35ba91..b5721247 100644 --- a/MapControl/Shared/MapPolygon.cs +++ b/MapControl/Shared/MapPolygon.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; #if WPF using System.Windows; #elif UWP diff --git a/MapControl/Shared/MapPolyline.cs b/MapControl/Shared/MapPolyline.cs index 159db4c6..544cb1c4 100644 --- a/MapControl/Shared/MapPolyline.cs +++ b/MapControl/Shared/MapPolyline.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; #if WPF using System.Windows; #elif UWP diff --git a/MapControl/Shared/MapProjection.cs b/MapControl/Shared/MapProjection.cs index d3ebbb23..5ea08bd5 100644 --- a/MapControl/Shared/MapProjection.cs +++ b/MapControl/Shared/MapProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/MapProjectionFactory.cs b/MapControl/Shared/MapProjectionFactory.cs index 373b9332..56ed99d4 100644 --- a/MapControl/Shared/MapProjectionFactory.cs +++ b/MapControl/Shared/MapProjectionFactory.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/MapScale.cs b/MapControl/Shared/MapScale.cs index 67b747eb..70c90d99 100644 --- a/MapControl/Shared/MapScale.cs +++ b/MapControl/Shared/MapScale.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Globalization; #if WPF using System.Windows; diff --git a/MapControl/Shared/MapTileLayer.cs b/MapControl/Shared/MapTileLayer.cs index ee363e20..232a47e6 100644 --- a/MapControl/Shared/MapTileLayer.cs +++ b/MapControl/Shared/MapTileLayer.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Threading.Tasks; #if WPF using System.Windows; diff --git a/MapControl/Shared/MapTileLayerBase.cs b/MapControl/Shared/MapTileLayerBase.cs index d3f667bf..f04621b2 100644 --- a/MapControl/Shared/MapTileLayerBase.cs +++ b/MapControl/Shared/MapTileLayerBase.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; #if WPF diff --git a/MapControl/Shared/Nad27UtmProjection.cs b/MapControl/Shared/Nad27UtmProjection.cs index 27dc4c4d..c061189e 100644 --- a/MapControl/Shared/Nad27UtmProjection.cs +++ b/MapControl/Shared/Nad27UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/Nad83UtmProjection.cs b/MapControl/Shared/Nad83UtmProjection.cs index a6343294..207dcc58 100644 --- a/MapControl/Shared/Nad83UtmProjection.cs +++ b/MapControl/Shared/Nad83UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/OrthographicProjection.cs b/MapControl/Shared/OrthographicProjection.cs index 4881646c..dec8096b 100644 --- a/MapControl/Shared/OrthographicProjection.cs +++ b/MapControl/Shared/OrthographicProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/PolarStereographicProjection.cs b/MapControl/Shared/PolarStereographicProjection.cs index aeece963..0fff5d0b 100644 --- a/MapControl/Shared/PolarStereographicProjection.cs +++ b/MapControl/Shared/PolarStereographicProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/PolygonCollection.cs b/MapControl/Shared/PolygonCollection.cs index e1d0f4e8..018b8583 100644 --- a/MapControl/Shared/PolygonCollection.cs +++ b/MapControl/Shared/PolygonCollection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; diff --git a/MapControl/Shared/PushpinBorder.cs b/MapControl/Shared/PushpinBorder.cs index 30d42281..216791e5 100644 --- a/MapControl/Shared/PushpinBorder.cs +++ b/MapControl/Shared/PushpinBorder.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; using System.Windows.Media; diff --git a/MapControl/Shared/StereographicProjection.cs b/MapControl/Shared/StereographicProjection.cs index efa907a0..59f40528 100644 --- a/MapControl/Shared/StereographicProjection.cs +++ b/MapControl/Shared/StereographicProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/Tile.cs b/MapControl/Shared/Tile.cs index f3a1c3b1..584d1cc4 100644 --- a/MapControl/Shared/Tile.cs +++ b/MapControl/Shared/Tile.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows.Controls; using System.Windows.Media; diff --git a/MapControl/Shared/TileCollection.cs b/MapControl/Shared/TileCollection.cs index b66d4ace..e65a38a7 100644 --- a/MapControl/Shared/TileCollection.cs +++ b/MapControl/Shared/TileCollection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace MapControl diff --git a/MapControl/Shared/TileImageLoader.cs b/MapControl/Shared/TileImageLoader.cs index 22f2186c..eaf28053 100644 --- a/MapControl/Shared/TileImageLoader.cs +++ b/MapControl/Shared/TileImageLoader.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Microsoft.Extensions.Caching.Distributed; +using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using System; diff --git a/MapControl/Shared/TileMatrix.cs b/MapControl/Shared/TileMatrix.cs index 749146f6..c690a6e6 100644 --- a/MapControl/Shared/TileMatrix.cs +++ b/MapControl/Shared/TileMatrix.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { public class TileMatrix { diff --git a/MapControl/Shared/TileSource.cs b/MapControl/Shared/TileSource.cs index 339b87d1..c96482a1 100644 --- a/MapControl/Shared/TileSource.cs +++ b/MapControl/Shared/TileSource.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Threading.Tasks; #if WPF using System.Windows.Media; diff --git a/MapControl/Shared/TransverseMercatorProjection.cs b/MapControl/Shared/TransverseMercatorProjection.cs index 3057094d..89af30b6 100644 --- a/MapControl/Shared/TransverseMercatorProjection.cs +++ b/MapControl/Shared/TransverseMercatorProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/TypeConverters.cs b/MapControl/Shared/TypeConverters.cs index a21b0def..9f94b41b 100644 --- a/MapControl/Shared/TypeConverters.cs +++ b/MapControl/Shared/TypeConverters.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.ComponentModel; using System.Globalization; diff --git a/MapControl/Shared/ViewTransform.cs b/MapControl/Shared/ViewTransform.cs index 3b23e709..c41ecf0e 100644 --- a/MapControl/Shared/ViewTransform.cs +++ b/MapControl/Shared/ViewTransform.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if WPF +#if WPF using System.Windows; using System.Windows.Media; #elif UWP diff --git a/MapControl/Shared/ViewportChangedEventArgs.cs b/MapControl/Shared/ViewportChangedEventArgs.cs index 34d126db..1f5392e5 100644 --- a/MapControl/Shared/ViewportChangedEventArgs.cs +++ b/MapControl/Shared/ViewportChangedEventArgs.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/WebMercatorProjection.cs b/MapControl/Shared/WebMercatorProjection.cs index c576b67e..26e62ae3 100644 --- a/MapControl/Shared/WebMercatorProjection.cs +++ b/MapControl/Shared/WebMercatorProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/Shared/Wgs84UtmProjection.cs b/MapControl/Shared/Wgs84UtmProjection.cs index 77e7e216..ed393b58 100644 --- a/MapControl/Shared/Wgs84UtmProjection.cs +++ b/MapControl/Shared/Wgs84UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/WmsImageLayer.cs b/MapControl/Shared/WmsImageLayer.cs index 09681d01..2e6a36af 100644 --- a/MapControl/Shared/WmsImageLayer.cs +++ b/MapControl/Shared/WmsImageLayer.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; diff --git a/MapControl/Shared/WmtsCapabilities.cs b/MapControl/Shared/WmtsCapabilities.cs index 7f327897..f9268510 100644 --- a/MapControl/Shared/WmtsCapabilities.cs +++ b/MapControl/Shared/WmtsCapabilities.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/MapControl/Shared/WmtsTileLayer.cs b/MapControl/Shared/WmtsTileLayer.cs index bc0a5f46..539a8869 100644 --- a/MapControl/Shared/WmtsTileLayer.cs +++ b/MapControl/Shared/WmtsTileLayer.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/MapControl/Shared/WmtsTileMatrix.cs b/MapControl/Shared/WmtsTileMatrix.cs index 52fe833e..1ee9d70a 100644 --- a/MapControl/Shared/WmtsTileMatrix.cs +++ b/MapControl/Shared/WmtsTileMatrix.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if WPF +#if WPF using System.Windows; #endif diff --git a/MapControl/Shared/WmtsTileMatrixLayer.cs b/MapControl/Shared/WmtsTileMatrixLayer.cs index c1f3065c..0089238d 100644 --- a/MapControl/Shared/WmtsTileMatrixLayer.cs +++ b/MapControl/Shared/WmtsTileMatrixLayer.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; using System.Windows.Controls; diff --git a/MapControl/Shared/WmtsTileMatrixSet.cs b/MapControl/Shared/WmtsTileMatrixSet.cs index 56cba5ae..aa254bc1 100644 --- a/MapControl/Shared/WmtsTileMatrixSet.cs +++ b/MapControl/Shared/WmtsTileMatrixSet.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/MapControl/Shared/WmtsTileSource.cs b/MapControl/Shared/WmtsTileSource.cs index 1e896101..cbed55be 100644 --- a/MapControl/Shared/WmtsTileSource.cs +++ b/MapControl/Shared/WmtsTileSource.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/Shared/WorldMercatorProjection.cs b/MapControl/Shared/WorldMercatorProjection.cs index 7ad486a9..4ed77901 100644 --- a/MapControl/Shared/WorldMercatorProjection.cs +++ b/MapControl/Shared/WorldMercatorProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #endif diff --git a/MapControl/UWP/TileImageLoader.UWP.cs b/MapControl/UWP/TileImageLoader.UWP.cs index f829fb11..0f18249d 100644 --- a/MapControl/UWP/TileImageLoader.UWP.cs +++ b/MapControl/UWP/TileImageLoader.UWP.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Threading.Tasks; using Windows.UI.Core; using Windows.UI.Xaml.Media; diff --git a/MapControl/WPF/DependencyPropertyHelper.WPF.cs b/MapControl/WPF/DependencyPropertyHelper.WPF.cs index 47f45dea..b5cfc2ec 100644 --- a/MapControl/WPF/DependencyPropertyHelper.WPF.cs +++ b/MapControl/WPF/DependencyPropertyHelper.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Windows; namespace MapControl diff --git a/MapControl/WPF/GeoImage.WPF.cs b/MapControl/WPF/GeoImage.WPF.cs index 5c94dede..77e9e842 100644 --- a/MapControl/WPF/GeoImage.WPF.cs +++ b/MapControl/WPF/GeoImage.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.IO; using System.Linq; using System.Threading.Tasks; diff --git a/MapControl/WPF/ImageLoader.WPF.cs b/MapControl/WPF/ImageLoader.WPF.cs index af1e767a..3b56b766 100644 --- a/MapControl/WPF/ImageLoader.WPF.cs +++ b/MapControl/WPF/ImageLoader.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.IO; using System.Threading.Tasks; using System.Windows; diff --git a/MapControl/WPF/LocationAnimation.WPF.cs b/MapControl/WPF/LocationAnimation.WPF.cs index c5699045..3f2afa1a 100644 --- a/MapControl/WPF/LocationAnimation.WPF.cs +++ b/MapControl/WPF/LocationAnimation.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Windows; using System.Windows.Media.Animation; diff --git a/MapControl/WPF/Map.WPF.cs b/MapControl/WPF/Map.WPF.cs index bf071579..eaa509cc 100644 --- a/MapControl/WPF/Map.WPF.cs +++ b/MapControl/WPF/Map.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Windows; using System.Windows.Input; diff --git a/MapControl/WPF/MapBase.WPF.cs b/MapControl/WPF/MapBase.WPF.cs index 582709c5..b1a91aa2 100644 --- a/MapControl/WPF/MapBase.WPF.cs +++ b/MapControl/WPF/MapBase.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Windows; +using System.Windows; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Media.Animation; diff --git a/MapControl/WPF/MapContentControl.WPF.cs b/MapControl/WPF/MapContentControl.WPF.cs index 61672ad4..16a1af9b 100644 --- a/MapControl/WPF/MapContentControl.WPF.cs +++ b/MapControl/WPF/MapContentControl.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Windows; +using System.Windows; using System.Windows.Controls; namespace MapControl diff --git a/MapControl/WPF/MapGraticule.WPF.cs b/MapControl/WPF/MapGraticule.WPF.cs index d4063c7a..18e15651 100644 --- a/MapControl/WPF/MapGraticule.WPF.cs +++ b/MapControl/WPF/MapGraticule.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Windows; diff --git a/MapControl/WPF/MapImageLayer.WPF.cs b/MapControl/WPF/MapImageLayer.WPF.cs index cb401c84..67f5fead 100644 --- a/MapControl/WPF/MapImageLayer.WPF.cs +++ b/MapControl/WPF/MapImageLayer.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Windows; using System.Windows.Media.Animation; diff --git a/MapControl/WPF/MapItem.WPF.cs b/MapControl/WPF/MapItem.WPF.cs index 46189340..f4b476ea 100644 --- a/MapControl/WPF/MapItem.WPF.cs +++ b/MapControl/WPF/MapItem.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Windows; +using System.Windows; using System.Windows.Controls; using System.Windows.Input; diff --git a/MapControl/WPF/MapItemsControl.WPF.cs b/MapControl/WPF/MapItemsControl.WPF.cs index 79657dcf..b2cc3a31 100644 --- a/MapControl/WPF/MapItemsControl.WPF.cs +++ b/MapControl/WPF/MapItemsControl.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Windows; +using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; diff --git a/MapControl/WPF/MapPanel.WPF.cs b/MapControl/WPF/MapPanel.WPF.cs index 3b67e538..319b5e6a 100644 --- a/MapControl/WPF/MapPanel.WPF.cs +++ b/MapControl/WPF/MapPanel.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Media; diff --git a/MapControl/WPF/MapPath.WPF.cs b/MapControl/WPF/MapPath.WPF.cs index 688a509e..4e637757 100644 --- a/MapControl/WPF/MapPath.WPF.cs +++ b/MapControl/WPF/MapPath.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Windows; +using System.Windows; using System.Windows.Media; using System.Windows.Shapes; diff --git a/MapControl/WPF/MapPolypoint.WPF.cs b/MapControl/WPF/MapPolypoint.WPF.cs index 48a1e2b7..9af255cc 100644 --- a/MapControl/WPF/MapPolypoint.WPF.cs +++ b/MapControl/WPF/MapPolypoint.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/MapControl/WPF/PolygonCollection.WPF.cs b/MapControl/WPF/PolygonCollection.WPF.cs index 1cf7bcdf..fc800aae 100644 --- a/MapControl/WPF/PolygonCollection.WPF.cs +++ b/MapControl/WPF/PolygonCollection.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; diff --git a/MapControl/WPF/PushpinBorder.WPF.cs b/MapControl/WPF/PushpinBorder.WPF.cs index f4600624..72ec6ff4 100644 --- a/MapControl/WPF/PushpinBorder.WPF.cs +++ b/MapControl/WPF/PushpinBorder.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; diff --git a/MapControl/WPF/Tile.WPF.cs b/MapControl/WPF/Tile.WPF.cs index ad1f96a3..9c57232f 100644 --- a/MapControl/WPF/Tile.WPF.cs +++ b/MapControl/WPF/Tile.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; diff --git a/MapControl/WPF/TileImageLoader.WPF.cs b/MapControl/WPF/TileImageLoader.WPF.cs index a4720665..bbbbf856 100644 --- a/MapControl/WPF/TileImageLoader.WPF.cs +++ b/MapControl/WPF/TileImageLoader.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Threading.Tasks; using System.Windows.Media; diff --git a/MapControl/WinUI/DependencyPropertyHelper.WinUI.cs b/MapControl/WinUI/DependencyPropertyHelper.WinUI.cs index 0493017f..8690cd70 100644 --- a/MapControl/WinUI/DependencyPropertyHelper.WinUI.cs +++ b/MapControl/WinUI/DependencyPropertyHelper.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if UWP using Windows.UI.Xaml; #else diff --git a/MapControl/WinUI/GeoImage.WinUI.cs b/MapControl/WinUI/GeoImage.WinUI.cs index fb0d3192..08f40c9d 100644 --- a/MapControl/WinUI/GeoImage.WinUI.cs +++ b/MapControl/WinUI/GeoImage.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Threading.Tasks; using Windows.Graphics.Imaging; using Windows.Storage; diff --git a/MapControl/WinUI/ImageLoader.WinUI.cs b/MapControl/WinUI/ImageLoader.WinUI.cs index 39fc41c4..425496bb 100644 --- a/MapControl/WinUI/ImageLoader.WinUI.cs +++ b/MapControl/WinUI/ImageLoader.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices.WindowsRuntime; diff --git a/MapControl/WinUI/Map.WinUI.cs b/MapControl/WinUI/Map.WinUI.cs index 684d8b7a..31921a2a 100644 --- a/MapControl/WinUI/Map.WinUI.cs +++ b/MapControl/WinUI/Map.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using Windows.System; #if UWP using Windows.Devices.Input; diff --git a/MapControl/WinUI/MapBase.WinUI.cs b/MapControl/WinUI/MapBase.WinUI.cs index aceee09a..8abfee7e 100644 --- a/MapControl/WinUI/MapBase.WinUI.cs +++ b/MapControl/WinUI/MapBase.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if UWP +#if UWP using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Media; diff --git a/MapControl/WinUI/MapContentControl.WinUI.cs b/MapControl/WinUI/MapContentControl.WinUI.cs index 96692adf..40f41544 100644 --- a/MapControl/WinUI/MapContentControl.WinUI.cs +++ b/MapControl/WinUI/MapContentControl.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if UWP +#if UWP using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; diff --git a/MapControl/WinUI/MapGraticule.WinUI.cs b/MapControl/WinUI/MapGraticule.WinUI.cs index 1cbd6f40..99df887d 100644 --- a/MapControl/WinUI/MapGraticule.WinUI.cs +++ b/MapControl/WinUI/MapGraticule.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Windows.Foundation; +using Windows.Foundation; using System.Collections.Generic; using System.Linq; #if UWP diff --git a/MapControl/WinUI/MapImageLayer.WinUI.cs b/MapControl/WinUI/MapImageLayer.WinUI.cs index 6389c7ca..339b5fa9 100644 --- a/MapControl/WinUI/MapImageLayer.WinUI.cs +++ b/MapControl/WinUI/MapImageLayer.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if UWP using Windows.UI.Xaml.Media.Animation; #else diff --git a/MapControl/WinUI/MapItem.WinUI.cs b/MapControl/WinUI/MapItem.WinUI.cs index f0f226af..73c14bb9 100644 --- a/MapControl/WinUI/MapItem.WinUI.cs +++ b/MapControl/WinUI/MapItem.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Windows.System; +using Windows.System; #if UWP using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; diff --git a/MapControl/WinUI/MapItemsControl.WinUI.cs b/MapControl/WinUI/MapItemsControl.WinUI.cs index 9decdba9..9f603c43 100644 --- a/MapControl/WinUI/MapItemsControl.WinUI.cs +++ b/MapControl/WinUI/MapItemsControl.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if UWP +#if UWP using Windows.UI.Xaml; using Windows.UI.Xaml.Data; #else diff --git a/MapControl/WinUI/MapPanel.WinUI.cs b/MapControl/WinUI/MapPanel.WinUI.cs index 645c21ff..4720be67 100644 --- a/MapControl/WinUI/MapPanel.WinUI.cs +++ b/MapControl/WinUI/MapPanel.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; #if UWP using Windows.UI.Xaml; diff --git a/MapControl/WinUI/MapPath.WinUI.cs b/MapControl/WinUI/MapPath.WinUI.cs index 80549e4d..7fe6284e 100644 --- a/MapControl/WinUI/MapPath.WinUI.cs +++ b/MapControl/WinUI/MapPath.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if UWP +#if UWP using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Shapes; #else diff --git a/MapControl/WinUI/MapPolypoint.WinUI.cs b/MapControl/WinUI/MapPolypoint.WinUI.cs index f280f17e..67ae5377 100644 --- a/MapControl/WinUI/MapPolypoint.WinUI.cs +++ b/MapControl/WinUI/MapPolypoint.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/MapControl/WinUI/Matrix.WinUI.cs b/MapControl/WinUI/Matrix.WinUI.cs index e5dd7026..826a2790 100644 --- a/MapControl/WinUI/Matrix.WinUI.cs +++ b/MapControl/WinUI/Matrix.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if UWP using WindowsUI = Windows.UI; #else diff --git a/MapControl/WinUI/Point.WinUI.cs b/MapControl/WinUI/Point.WinUI.cs index 6ab55009..8a0cf7bf 100644 --- a/MapControl/WinUI/Point.WinUI.cs +++ b/MapControl/WinUI/Point.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -namespace MapControl +namespace MapControl { /// /// Replaces Windows.Foundation.Point for double floating point precision. diff --git a/MapControl/WinUI/PushpinBorder.WinUI.cs b/MapControl/WinUI/PushpinBorder.WinUI.cs index 9b04344a..842ba550 100644 --- a/MapControl/WinUI/PushpinBorder.WinUI.cs +++ b/MapControl/WinUI/PushpinBorder.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Windows.Foundation; +using Windows.Foundation; #if UWP using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; diff --git a/MapControl/WinUI/Rect.WinUI.cs b/MapControl/WinUI/Rect.WinUI.cs index 9273cfa4..79f4743a 100644 --- a/MapControl/WinUI/Rect.WinUI.cs +++ b/MapControl/WinUI/Rect.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl { diff --git a/MapControl/WinUI/Tile.WinUI.cs b/MapControl/WinUI/Tile.WinUI.cs index f1291a00..00d9027e 100644 --- a/MapControl/WinUI/Tile.WinUI.cs +++ b/MapControl/WinUI/Tile.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -#if UWP +#if UWP using Windows.UI.Xaml; using Windows.UI.Xaml.Media.Animation; using Windows.UI.Xaml.Media.Imaging; diff --git a/MapControl/WinUI/TileImageLoader.WinUI.cs b/MapControl/WinUI/TileImageLoader.WinUI.cs index 41152df2..c38527cd 100644 --- a/MapControl/WinUI/TileImageLoader.WinUI.cs +++ b/MapControl/WinUI/TileImageLoader.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Microsoft.UI.Dispatching; +using Microsoft.UI.Dispatching; using Microsoft.UI.Xaml.Media; using System; using System.Threading.Tasks; diff --git a/MapProjections/Shared/Ed50UtmProjection.cs b/MapProjections/Shared/Ed50UtmProjection.cs index d6cbbb70..473698f2 100644 --- a/MapProjections/Shared/Ed50UtmProjection.cs +++ b/MapProjections/Shared/Ed50UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl.Projections { diff --git a/MapProjections/Shared/Etrs89UtmProjection.cs b/MapProjections/Shared/Etrs89UtmProjection.cs index e9a325f5..9e251e0b 100644 --- a/MapProjections/Shared/Etrs89UtmProjection.cs +++ b/MapProjections/Shared/Etrs89UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl.Projections { diff --git a/MapProjections/Shared/GeoApiProjection.cs b/MapProjections/Shared/GeoApiProjection.cs index af66171b..acf4a42c 100644 --- a/MapProjections/Shared/GeoApiProjection.cs +++ b/MapProjections/Shared/GeoApiProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using GeoAPI.CoordinateSystems; +using GeoAPI.CoordinateSystems; using GeoAPI.CoordinateSystems.Transformations; using GeoAPI.Geometries; using ProjNet.CoordinateSystems; diff --git a/MapProjections/Shared/GeoApiProjectionFactory.cs b/MapProjections/Shared/GeoApiProjectionFactory.cs index 0a60c89a..b2f1f912 100644 --- a/MapProjections/Shared/GeoApiProjectionFactory.cs +++ b/MapProjections/Shared/GeoApiProjectionFactory.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; namespace MapControl.Projections { diff --git a/MapProjections/Shared/Nad27UtmProjection.cs b/MapProjections/Shared/Nad27UtmProjection.cs index 0401c062..6fd217c4 100644 --- a/MapProjections/Shared/Nad27UtmProjection.cs +++ b/MapProjections/Shared/Nad27UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl.Projections { diff --git a/MapProjections/Shared/Nad83UtmProjection.cs b/MapProjections/Shared/Nad83UtmProjection.cs index 9eb5d0dd..ce7adef7 100644 --- a/MapProjections/Shared/Nad83UtmProjection.cs +++ b/MapProjections/Shared/Nad83UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; namespace MapControl.Projections { diff --git a/MapProjections/Shared/WebMercatorProjection.cs b/MapProjections/Shared/WebMercatorProjection.cs index 0342c1f6..27b15d25 100644 --- a/MapProjections/Shared/WebMercatorProjection.cs +++ b/MapProjections/Shared/WebMercatorProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using ProjNet.CoordinateSystems; +using ProjNet.CoordinateSystems; using System; #if WPF using System.Windows; diff --git a/MapProjections/Shared/Wgs84UtmProjection.cs b/MapProjections/Shared/Wgs84UtmProjection.cs index 3530534b..c0942d1a 100644 --- a/MapProjections/Shared/Wgs84UtmProjection.cs +++ b/MapProjections/Shared/Wgs84UtmProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using ProjNet.CoordinateSystems; +using ProjNet.CoordinateSystems; using System; namespace MapControl.Projections diff --git a/MapProjections/Shared/WorldMercatorProjection.cs b/MapProjections/Shared/WorldMercatorProjection.cs index f48c8494..56853147 100644 --- a/MapProjections/Shared/WorldMercatorProjection.cs +++ b/MapProjections/Shared/WorldMercatorProjection.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; #if WPF using System.Windows; #elif AVALONIA diff --git a/MapUiTools/Avalonia/MenuButton.Avalonia.cs b/MapUiTools/Avalonia/MenuButton.Avalonia.cs index 1801d053..c1fcda88 100644 --- a/MapUiTools/Avalonia/MenuButton.Avalonia.cs +++ b/MapUiTools/Avalonia/MenuButton.Avalonia.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using Avalonia; +using Avalonia; using Avalonia.Controls; using Avalonia.Interactivity; using Avalonia.Media; diff --git a/MapUiTools/Shared/MapLayersMenuButton.cs b/MapUiTools/Shared/MapLayersMenuButton.cs index d17b6a65..dcfdbee6 100644 --- a/MapUiTools/Shared/MapLayersMenuButton.cs +++ b/MapUiTools/Shared/MapLayersMenuButton.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; diff --git a/MapUiTools/Shared/MapProjectionsMenuButton.cs b/MapUiTools/Shared/MapProjectionsMenuButton.cs index a73dc578..8e0577f2 100644 --- a/MapUiTools/Shared/MapProjectionsMenuButton.cs +++ b/MapUiTools/Shared/MapProjectionsMenuButton.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Diagnostics; diff --git a/MapUiTools/WPF/MenuButton.WPF.cs b/MapUiTools/WPF/MenuButton.WPF.cs index 6b3bb25d..b182898e 100644 --- a/MapUiTools/WPF/MenuButton.WPF.cs +++ b/MapUiTools/WPF/MenuButton.WPF.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; diff --git a/MapUiTools/WinUI/MenuButton.WinUI.cs b/MapUiTools/WinUI/MenuButton.WinUI.cs index f76de33e..2cd45774 100644 --- a/MapUiTools/WinUI/MenuButton.WinUI.cs +++ b/MapUiTools/WinUI/MenuButton.WinUI.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; #if UWP using Windows.UI.Xaml; diff --git a/SampleApps/Shared/HyperlinkText.cs b/SampleApps/Shared/HyperlinkText.cs index 6def0f00..91c9f809 100644 --- a/SampleApps/Shared/HyperlinkText.cs +++ b/SampleApps/Shared/HyperlinkText.cs @@ -1,8 +1,4 @@ -// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control -// Copyright © Clemens Fischer -// Licensed under the Microsoft Public License (Ms-PL) - -using System; +using System; using System.Collections.Generic; using System.Text.RegularExpressions; #if WINUI