Here are the examples of the csharp api class System.Collections.Concurrent.ConcurrentBag.Add(IFunctionInfo) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: RTVS
Source File: PackageInfo.cs
Source File: PackageInfo.cs
public async Task LoadFunctionsIndexAsync(CancellationToken ct) { var functions = await GetFunctionNamesAsync(ct); foreach (var function in functions) { if(ct.IsCancellationRequested) { break; } _functions.Add(new FunctionInfo(function)); } }