/src/LinFu.IoC.Common/IServiceInfo.cs

http://github.com/philiplaureano/LinFu · C# · 27 lines · 11 code · 3 blank · 13 comment · 0 complexity · b41d3d653ab881a1a6fc66f538df5178 MD5 · raw file

  1. using System;
  2. using System.Collections.Generic;
  3. namespace LinFu.IoC.Interfaces
  4. {
  5. /// <summary>
  6. /// A class that describes a single service
  7. /// provided by a container.
  8. /// </summary>
  9. public interface IServiceInfo
  10. {
  11. /// <summary>
  12. /// The name of the service being created. By default, this property is blank.
  13. /// </summary>
  14. string ServiceName { get; }
  15. /// <summary>
  16. /// The type of service being requested.
  17. /// </summary>
  18. Type ServiceType { get; }
  19. /// <summary>
  20. /// Gets a value indicating the list of arguments required by this particular service.
  21. /// </summary>
  22. IEnumerable<Type> ArgumentTypes { get; }
  23. }
  24. }