System.Collections.Concurrent.ConcurrentDictionary.ContainsKey(ITable)

Here are the examples of the csharp api System.Collections.Concurrent.ConcurrentDictionary.ContainsKey(ITable) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : DescriptorCache.cs
with MIT License
from MiracleDevs

public ITableDescriptor GetTableDescriptor(ITable table, List<IColumn> columns, List<IConstraint> constraints)
        {
            return this.TableDescriptors.ContainsKey(table)
                ? this.TableDescriptors[table]
                : this.TableDescriptors.GetOrAdd(table, new TableDescriptor(table, columns, constraints));
        }