コード例 #1
0
ファイル: ObservableHashSet.cs プロジェクト: mosamy/vulcan
        public bool IsSubsetOf(ObservableHashSet <T> other)
        {
            if (other == null)
            {
                throw new ArgumentNullException("other");
            }

            foreach (var item in _store.Keys)
            {
                if (!other.Contains(item))
                {
                    return(false);
                }
            }

            return(true);
        }