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
class Program | |
{ | |
static void Main() | |
{ | |
//global token source that being used for clear entire cached elements | |
var globalTokenSource = new CancellationTokenSource(); | |
Action doWork = () => | |
{ | |
for (int i = 0; i < 100; i++) |
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.Text; | |
using System.Threading.Tasks; | |
using VirtoCommerce.OrdersModule.Core.Model; | |
using VirtoCommerce.OrdersModule.Core.Services; | |
namespace VirtoCommerce.OrdersModule.Data.Services | |
{ | |
public class MyCoolCustomerOrderService : ICustomerOrderService |