/src/LinFu.IoC/Interfaces/IServiceInstance.cs

http://github.com/philiplaureano/LinFu · C# · 19 lines · 8 code · 1 blank · 10 comment · 0 complexity · 42100c38ced14532c71aaf19c79716a5 MD5 · raw file

  1. namespace LinFu.IoC.Interfaces
  2. {
  3. /// <summary>
  4. /// A type that represents a service instance returned by a container.
  5. /// </summary>
  6. public interface IServiceInstance
  7. {
  8. /// <summary>
  9. /// Gets the value indicating the <see cref="IServiceInfo" /> instance
  10. /// that describes the service instance itself.
  11. /// </summary>
  12. IServiceInfo ServiceInfo { get; }
  13. /// <summary>
  14. /// Gets the value indicating the service instance itself.
  15. /// </summary>
  16. object Object { get; }
  17. }
  18. }