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