This file contains 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
namespace Gps.Services | |
{ | |
/// <summary> | |
/// GPS Location Calculator | |
/// </summary> | |
public interface IGpsCalculator | |
{ | |
/// <summary> | |
/// Calculate distance between two GPS points in meters |
This file contains 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
namespace SomeAPI | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
var builder = WebApplication.CreateBuilder(args); | |
var settings = new AppSettings(); | |
builder.Configuration.GetSection(nameof(AppSettings)).Bind(settings); |
This file contains 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
/// <summary> | |
/// Interaction logic for App.xaml | |
/// </summary> | |
public partial class App | |
{ | |
// ... | |
// ... | |
protected override IModuleCatalog CreateModuleCatalog() | |
{ |
This file contains 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
<ResourceDictionary | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:controls="clr-namespace:WPFUserControls.Controls"> | |
<!--#region Static Resources --> | |
<SolidColorBrush x:Key="Button.Static.Background" Color="#FFDDDDDD"/> | |
<SolidColorBrush x:Key="Button.Static.Border" Color="#FF707070"/> | |
<SolidColorBrush x:Key="Button.MouseOver.Background" Color="#FFBEE6FD"/> | |
<SolidColorBrush x:Key="Button.MouseOver.Border" Color="#FF3C7FB1"/> |