This file contains 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
var data = await Task.WhenAll(_services.Select(async service => | |
{ | |
var results = await service.GetSomeDataAsync(tokenSource.Token); | |
var request = new request | |
{ | |
Data = results | |
}; | |
return await _calculator.CalculateAsync(request, tokenSource.Token); | |
})); |
This file contains 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.Security.Principal; | |
using System.Windows.Forms; | |
namespace WindowsFormsApp1 | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ |
This file contains 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; | |
using System.Security.Principal; | |
namespace TechnoFattie.Lib.Tests.Mocks | |
{ | |
public enum MockPrincipalBehavior | |
{ |