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
| public class NewRelicIgnoreTransactionOwinModule | |
| { | |
| private AppFunc _nextAppFunc; | |
| public NewRelicIgnoreTransactionOwinModule(AppFunc nextAppFunc) | |
| { | |
| _nextAppFunc = nextAppFunc; | |
| } | |
| public Task Invoke(IDictionary<string, object> environment) |
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.Concurrent; | |
| using System.Diagnostics; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace HackedBrain.Utilities | |
| { | |
| public sealed class ObjectPool<T> where T : class, new() | |
| { |
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.Diagnostics; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Threading; | |
| using System.Collections.Concurrent; | |
| using System.Windows.Threading; |
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.Data.SqlClient; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Microsoft.Win32; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| using System.IO; |
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
| public static IEnumerable<MethodInfo> GetMethods(this Type type, string name) | |
| { | |
| return GetMethods(type.GetTypeInfo(), name); | |
| } | |
| public static IEnumerable<MethodInfo> GetMethods(this TypeInfo typeInfo, string name) | |
| { | |
| TypeInfo currentTypeInfo = typeInfo; | |
| do |
NewerOlder