Abot.Core.CompactCrawledUrlRepository.ComputeNumericId(string)

Here are the examples of the csharp api class Abot.Core.CompactCrawledUrlRepository.ComputeNumericId(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: abot
Source File: CompactCrawledUrlRepository.cs
View license
public bool Contains(Uri uri)
        {
            return m_UrlRepository.ContainsKey(ComputeNumericId(uri.AbsoluteUri));
        }

2. Example

Project: abot
Source File: CompactCrawledUrlRepository.cs
View license
public bool AddIfNew(Uri uri)
        {
            return m_UrlRepository.TryAdd(ComputeNumericId(uri.AbsoluteUri), 0);
        }