public static void Main(string[] args) { var exampleSet = new ExampleSet() .WithExample(new ParallelInvokeOneActionExample()) .WithExample(new ParallelInvokeManyActionsExample()) .WithExample(new ParallelInvokeBigAmountOfActionsExample()) .WithExample(new ParallelInvokeConfigurationExample()) .WithExample(new ParallelForExample()) .WithExample(new ParallelForEachExample()) .WithExample(new ParallelForManageStateExample()) .WithExample(new ParallelForManageLocalStateExample()) .WithExample(new ParallelForManageLocalStatePerformanceExample()) .WithExample(new EnumerableParallelExample()) .WithExample(new EnumerableParallelExceptionExample()) .WithExample(new TasksExample()) .WithExample(new TasksContinuationExample()) .WithExample(new TaskChildExample()) .WithExample(new ThreadExample()) .WithExample(new ThreadAbortExample()) .WithExample(new ThreadLocalAndStaticExample()) .WithExample(new ThreadPoolExample()) .WithExample(new AsyncExceptionExample()) .WithExample(new BlockingCollectionExample()) .WithExample(new BlockingStackExample()) .WithExample(new ConcurrentStackExample()) .WithExample(new ConcurrentDictionaryExample()) ; exampleSet.RunLast(); Console.ReadLine(); }
public static void Main(string[] args) { var examples = new ExampleSet() .WithExample(new RequestsExample()) ; examples.RunLast(); Console.ReadLine(); }
public static void Main(string[] args) { var exampleSet = new ExampleSet() .WithExample(new DelegateSubscriptionExample()) .WithExample(new EventsErrorsExample()) ; exampleSet.RunLast(); Console.ReadLine(); }
private static void Main(string[] args) { var exampleSet = new ExampleSet() .WithExample(new RaceConditionExample()) .WithExample(new MonitorExample()) ; exampleSet.RunLast(); Console.ReadLine(); }
private static void Main(string[] args) { var examples = new ExampleSet() .WithExample(new CodeDomExample()) .WithExample(new ConditionalExample()) .WithExample(new GCExample()) .WithExample(new StringReaderWriterExample()) ; examples.RunLast(); Console.ReadLine(); }
public static void Main(string[] args) { var examples = new ExampleSet() .WithExample(new JsonExample()) .WithExample(new RegexExample()) .WithExample(new RegexCompilationExample()) .WithExample(new ValidationExample()) .WithExample(new TraceExample()) .WithExample(new TraceSourceExample()) .WithExample(new CounterReadExample()) .WithExample(new CounterCreateExample()) ; examples.RunLast(); Console.ReadLine(); }