System.Collections.Generic.HashSet.Contains(WarframeUpdate)

Here are the examples of the csharp api System.Collections.Generic.HashSet.Contains(WarframeUpdate) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : WFNotificationHandler.cs
with GNU Affero General Public License v3.0
from TRKS-Team

public async Task CheckWarframeUpdates()
        {
            var updates = await GetWarframeUpdates();
            if (!sendedUpdateSet.Contains(updates.First()))
            {
                var msg = WFFormatter.ToString(updates.First());
                Messenger.Broadcast(msg);
                sendedUpdateSet.Add(updates.First());
            }
        }