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
using System; | |
using System.Runtime.InteropServices; | |
using OpenZWave; | |
using System.Threading.Tasks; | |
namespace OpenZWaveApp | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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
import 'dart:async'; | |
import 'package:simple_auth/simple_auth.dart'; | |
import "package:http/http.dart" as http; | |
import 'dart:convert' as convert; | |
enum AzureADEasyAuthType { aad, microsoftAccount, facebook, google, twitter } | |
class AzureADEasyAuthApi extends OAuthApi { | |
String siteUrl; | |
AzureADEasyAuthType authType; |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+i", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument", |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Net.Http; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Newtonsoft.Json; | |
using SimpleAuth; | |
using MobileCenterApi.Models; |
This file has been truncated, but you can view the full file.
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
// Code generated by SimpleSwaggerGenerator 1.0.6654.31180 | |
// Changes may cause incorrect behavior and will be lost if the code is | |
// regenerated. | |
namespace MobileCenterApi | |
{ | |
using SimpleAuth; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Linq; |
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
[assembly: Dependency(typeof(DeviceInfo))] | |
namespace HockeyApp.Helpers | |
{ | |
public class DeviceInfo : IDeviceInfo | |
{ | |
public static Mock<IDeviceInfo> Mocked { get; set; } | |
public string Model => Mocked?.Object?.Model ?? throw new NotImplementedException(); |
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
public class TestPlatformService : IPlatformServices | |
{ | |
public TestPlatformService() | |
{ | |
} | |
public bool IsInvokeRequired => false; | |
public string RuntimePlatform => "UnitTests"; |
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
[Activity(NoHistory = true, LaunchMode = Android.Content.PM.LaunchMode.SingleTop)] | |
[IntentFilter(new[] { Intent.ActionView }, | |
Categories = new[] { Intent.CategoryDefault, Intent.CategoryBrowsable }, DataScheme = "whatever.scheme")] | |
public class SimpleAuthActivity : SimpleAuth.Droid.CustomTabs.SimpleAuthCallbackActivity | |
{ | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.IO; | |
using NUnitLite.Runner; | |
using Android.App; | |
using Android.Content; | |
using Android.OS; |
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
using System; | |
using System.Runtime.CompilerServices; | |
using Plugin.Settings.Abstractions; | |
namespace Plugin.Settings.Abstractions | |
{ | |
public static class AppSettingsExtensions | |
{ | |
public static void Set(this ISettings settings, string value, [CallerMemberNameAttribute] string memberName = "") => settings.AddOrUpdateValue(memberName, value); | |
public static void Set(this ISettings settings, bool value, [CallerMemberNameAttribute] string memberName = "") => settings.AddOrUpdateValue(memberName, value); | |
public static void Set(this ISettings settings, long value, [CallerMemberNameAttribute] string memberName = "") => settings.AddOrUpdateValue(memberName, value); |