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
//Allows for analysing source code | |
using Microsoft.CodeAnalysis; | |
//Provides the CSharpScript factory class | |
using Microsoft.CodeAnalysis.CSharp.Scripting; | |
//This is where most of the magic happens | |
using Microsoft.CodeAnalysis.Scripting; |
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 static async Task Main(string[] args) | |
{ | |
Console.WriteLine("Write some C#"); | |
var evaluate = true; | |
while(evaluate) | |
{ | |
var input = Console.ReadLine(); | |
if(input == "exit") |
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
//Keys.cs | |
public class Keys | |
{ | |
public static readonly string XamarinInsightsKey = "0000"; | |
public static readonly string ParseAppKey = "0000"; | |
public static readonly string ParseDotNetKey = "0000"; | |
} |
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
private async Task ExecuteSignUpUserCommand () | |
{ | |
if (IsBusy) { | |
return; | |
} | |
IsBusy = true; | |
try | |
{ |
NewerOlder