ISet.cs 450 B

1234567891011121314151617181920212223
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. using System.Collections;
  4. namespace Org.BouncyCastle.Utilities.Collections
  5. {
  6. public interface ISet
  7. : ICollection
  8. {
  9. void Add(object o);
  10. void AddAll(IEnumerable e);
  11. void Clear();
  12. bool Contains(object o);
  13. bool IsEmpty { get; }
  14. bool IsFixedSize { get; }
  15. bool IsReadOnly { get; }
  16. void Remove(object o);
  17. void RemoveAll(IEnumerable e);
  18. }
  19. }
  20. #endif