This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Esri.ArcGISRuntime.Symbology; | |
using System; | |
using System.IO; | |
using System.Threading.Tasks; | |
using System.Windows; | |
#if NETFX_CORE | |
using Windows.UI.Xaml.Markup; | |
using Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; | |
using Windows.Foundation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestMethod] | |
[TestCategory("Naming guidelines")] | |
public void TasksReturningMethodsArePostfixedAsync() | |
{ | |
var asm = typeof(SomeTypeInMyAssembly).Assembly; | |
StringBuilder sb = new StringBuilder(); | |
foreach (var type in asm.GetExportedTypes()) | |
{ | |
foreach (var mi in type.GetMethods(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | | |
System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Static | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ESRI.ArcGIS.Runtime; | |
using System; | |
using Windows.UI.Xaml.Media; | |
namespace GeometryUtils | |
{ | |
public class PointAnimator | |
{ | |
public PointAnimator(MapPoint point, MapPoint to, TimeSpan duration) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using Windows.ApplicationModel.Resources; | |
namespace TestHarness | |
{ | |
/// <summary> | |
/// A message handler for simulating web requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace SharpGIS.Http | |
{ | |
public class HttpGZipClientHandler : HttpClientHandler | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Runtime.Serialization; | |
using System.Runtime.Serialization.Json; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Windows.Foundation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GpsCoordinateSimulator.cs: | |
// WPF: Requires reference to System.Device.dll | |
using System; | |
using System.Device.Location; | |
using System.Windows; | |
using System.Windows.Threading; | |
namespace GpsSimulator | |
{ | |
/// <summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using ESRI.ArcGIS.Client.Tasks; | |
namespace ESRI.Samples.Async.Tasks | |
{ | |
public static partial class Extensions | |
{ |
NewerOlder