using System; namespace IFramework.Inject { /// /// 注入标记 /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property,Inherited =false,AllowMultiple =true)] public class InjectAttribute : Attribute { /// /// 注入名 /// public string name { get;} /// /// ctor /// /// public InjectAttribute(string name="") { this.name = name; } } }