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 class StreamAssert | |
| { | |
| public static bool AreEquivalent<T>(T left, T right) | |
| where T : Stream | |
| { | |
| int file1byte; | |
| int file2byte; | |
| if (left == right) | |
| { |
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
| namespace System.Threading.Tasks | |
| { | |
| using System; | |
| using System.Runtime.CompilerServices; | |
| using System.Threading; | |
| /// <summary> | |
| /// Extensions on Task and Task<T>. | |
| /// </summary> | |
| public static class TaskExtensions |
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; | |
| public class Either<TLeft, TRight> | |
| { | |
| private readonly TLeft left; | |
| private readonly TRight right; | |
| private readonly bool isLeft; | |
| public Either(TLeft left) | |
| { |
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.Data; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| public class SqlScriptMigrator |
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.Collections.Generic; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| public interface IJobQueue | |
| { | |
| Task Finish(string key, CancellationToken cancellationToken = default); | |
| Task Requeue(string key, CancellationToken cancellationToken = default); |
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
| // This file was initially generated by Windows Terminal 1.7.1091.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |
OlderNewer