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 Test | |
| { | |
| [Theory] | |
| [MyData((object)null)] | |
| public void TestMethod(object data) | |
| { | |
| } | |
| [Fact] |
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 CompositeCompletion | |
| { | |
| private int _lockCount; | |
| private bool _isTaskCreated = false; | |
| private Action _completeAction; | |
| private readonly object _syncObject = new object(); | |
| public IObservable<T> Add<T>(IObservable<T> observable) | |
| { |
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
| version: '3.4' | |
| services: | |
| testserver: | |
| image: ${DOCKER_REGISTRY-}testserver | |
| build: | |
| context: . | |
| dockerfile: tests/TestServer/Dockerfile | |
| ports: | |
| - "11111:11111" |
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.IO; | |
| using System.Linq; | |
| using System.Runtime.ConstrainedExecution; | |
| using System.Runtime.InteropServices; | |
| using System.Security; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; |
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.IO; | |
| using System.Linq; | |
| using System.Runtime.ConstrainedExecution; | |
| using System.Runtime.InteropServices; | |
| using System.Security; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; |
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; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Runtime.ConstrainedExecution; | |
| using System.Runtime.InteropServices; | |
| using System.Security; | |
| using System.Text; |
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 System.Text; | |
| namespace Scheduler | |
| { | |
| public class ScheduleGenerator | |
| { | |
| private readonly Graph _dependenciesGraph; |
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 UnitTest1 | |
| { | |
| private const string Enabled = @" | |
| ""Parameters"": { | |
| ""Enabled"": true, | |
| ""SecurityTypesIds"": [1, 2, 3] | |
| }"; | |
| private const string EmptyParameters = ""; |
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.Reflection; | |
| using System.Reflection.Emit; | |
| using System.Text.Json; | |
| using System.Threading; | |
| using System.Threading.Channels; | |
| using System.Threading.Tasks; |
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 Program | |
| { | |
| public static async Task Main(string[] args) | |
| { | |
| using var dataResponse = await client.GetAsync(); | |
| dataResponse.EnsureSuccessStatusCode(); | |
| await using var stream = await dataResponse.Content.ReadAsStreamAsync(); | |
| var pipe = PipeReader.Create(stream); |
OlderNewer