/src/LinFu.Proxy.Interfaces/IExtractInterfaces.cs

http://github.com/philiplaureano/LinFu · C# · 19 lines · 9 code · 1 blank · 9 comment · 0 complexity · 9744d7a26ff90529ad732e1304c29e3f MD5 · raw file

  1. using System;
  2. using System.Collections.Generic;
  3. namespace LinFu.Proxy.Interfaces
  4. {
  5. /// <summary>
  6. /// A class that is responsible for determining
  7. /// which interfaces a given type should implement.
  8. /// </summary>
  9. public interface IExtractInterfaces
  10. {
  11. /// <summary>
  12. /// Determines which interfaces a given type should implement.
  13. /// </summary>
  14. /// <param name="currentType">The base type that holds the list of interfaces to implement.</param>
  15. /// <param name="interfaces">The list of interfaces already being implemented. </param>
  16. void GetInterfaces(Type currentType, HashSet<Type> interfaces);
  17. }
  18. }