git checkout -b <branchname>
git add
git commit -m "description of changes"
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Concurrent; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Threading; | |
| using System.Text; | |
| namespace Testing_MethodReturnCache | |
| { |
| public class ImportedFilePathResolver : IPathResolver | |
| { | |
| private string currentFileDirectory; | |
| private string currentFilePath; | |
| /// <summary> | |
| /// Initializes a new instance of the <see cref="ImportedFilePathResolver"/> class. | |
| /// </summary> | |
| /// <param name="currentFilePath">The path to the currently processed file.</param> | |
| public ImportedFilePathResolver(string currentFilePath) |
| /* | |
| * Original version by Stephen Toub and Shawn Farkas. | |
| * Random pool and thread safety added by Markus Olsson (freakcode.com). | |
| * | |
| * Original source: http://msdn.microsoft.com/en-us/magazine/cc163367.aspx | |
| * | |
| * Some benchmarks (2009-03-18): | |
| * | |
| * Results produced by calling Next() 1 000 000 times on my machine (dual core 3Ghz) | |
| * |