Class FromKeyedServicesAttribute
标记绑定属性为FromKeyedServices
[Obsolete("不再提供,如需要注入服务,请直接在构造器中注入即可!")]
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class FromKeyedServicesAttribute : Attribute
- Inheritance
-
FromKeyedServicesAttribute
- Inherited Members
- Extension Methods
Constructors
FromKeyedServicesAttribute(string)
public FromKeyedServicesAttribute(string key)
Parameters
key
string
Properties
Key
public string Key { get; set; }