ICommandFilterProvider.cs 520 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using SuperSocket.SocketBase.Metadata;
  6. namespace SuperSocket.SocketBase.Command
  7. {
  8. /// <summary>
  9. /// The basic interface for CommandFilter
  10. /// </summary>
  11. public interface ICommandFilterProvider
  12. {
  13. /// <summary>
  14. /// Gets the filters which assosiated with this command object.
  15. /// </summary>
  16. /// <returns></returns>
  17. IEnumerable<CommandFilterAttribute> GetFilters();
  18. }
  19. }