コード例 #1
0
ファイル: Dawg.Static.cs プロジェクト: rastyslaw/UidGenerator
        public static void Verify(ISet <string> words, Dawg dawg)
        {
            var d = dawg.ToHashSet();

            if (words.Count != d.Count || !words.IsSubsetOf(d))
            {
コード例 #2
0
ファイル: Dawg.Static.cs プロジェクト: rastyslaw/UidGenerator
 public static void Verify(IEnumerable <string> words, Dawg dawg)
 => Verify(words.ToHashSet(), dawg);