BenchmarkDotNet=v0.10.1, OS=Windows
Processor=?, ProcessorCount=8
Frequency=2435779 Hz, Resolution=410.5463 ns, Timer=TSC
dotnet cli version=1.0.0-preview2-003131
[Host] : .NET Core 4.6.24628.01, 64bit RyuJIT
DefaultJob : .NET Core 4.6.24628.01, 64bit RyuJIT
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
| private class LogException : Exception | |
| { | |
| private readonly object[] _arguments; | |
| private readonly Level _level; | |
| private readonly string _message; | |
| private readonly Type _type; | |
| private LogException(Type type, Level level, string message, object[] arguments) | |
| { | |
| _arguments = arguments; |
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 Microsoft.Xna.Framework; | |
| using Microsoft.Xna.Framework.Graphics; | |
| using Microsoft.Xna.Framework.Input; | |
| namespace ConsoleIdea | |
| { | |
| /// <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
| #----------------------------- Global Properties ----------------------------# | |
| /outputDir:bin/$(Platform) | |
| /intermediateDir:obj/$(Platform) | |
| /platform:DesktopGL | |
| /config: | |
| /profile:Reach | |
| /compress:False |
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.Text; | |
| namespace GIS | |
| { | |
| public class Utility | |
| { | |
| /// <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
| [RoutePrefix("api/my")] | |
| public class MyController : ApiController | |
| { | |
| [AllowAnonymous] | |
| [Route("anon")] | |
| public IHttpActionResult Get() => Ok(User); | |
| [Route("auth")] | |
| public IHttpActionResult GetAuth() => Ok(User); | |
| } |
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
| class FilterTest | |
| { | |
| public FilterTest(Dictionary<Type, object> parameters) | |
| { | |
| HttpContext httpContext = new DefaultHttpContext(); | |
| RouteData routeData = new RouteData(); | |
| List<ParameterDescriptor> parameterDescriptors = | |
| parameters.Select(pair => new ParameterDescriptor | |
| { | |
| BindingInfo = new BindingInfo |
Forked from piscisaureus
Locate the section for your vsts remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = ssh://my-vsts@my-vsts.visualstudio.com:22/DefaultCollection/Project-Name/_git/Repo-Name
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 BenchmarkDotNet.Attributes; | |
| using BenchmarkDotNet.Running; | |
| using System; | |
| using System.Diagnostics; | |
| namespace ConsoleApp37 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |