JD2022-TU1/main/tools/framework/JD.Reflection/Attributes/InheritedExportAttribute.cs

33 lines
No EOL
773 B
C#

using System;
namespace JD.Reflection.Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
public class InheritedExportAttribute : ExportAttribute
{
#region Constructor
public InheritedExportAttribute()
: base(null, null)
{
}
public InheritedExportAttribute(Type contractType)
: base(null, contractType)
{
}
public InheritedExportAttribute(string contractName)
: base(contractName, null)
{
}
public InheritedExportAttribute(string contractName, Type contractType)
: base(contractName, contractType)
{
}
#endregion
}
}