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 FooCopier | |
| { | |
| public static FooCopier Default { get; } = new FooCopier(); | |
| public static FooCopier WithoutBar { get; } = new FooCopier(skipBar: true); | |
| private readonly IMapper mapper; | |
| public FooCopier(bool skipBar = 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 BenchmarkDotNet.Attributes; | |
| using BenchmarkDotNet.Running; | |
| using System; | |
| using System.IO; | |
| using System.Numerics; | |
| using System.Runtime.CompilerServices; | |
| using System.Text; | |
| namespace BensWordCounter | |
| { |
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 Microsoft.Extensions.Caching.Memory; | |
| using System; | |
| using System.Collections.Concurrent; | |
| using System.Linq; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace CacheTesting | |
| { | |
| class Program |
OlderNewer