XUnitDIStudy/XUnitDIStudy.IntegrationTest/CustomAttribute.cs

24 lines
564 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace XUnitDIStudy.IntegrationTest
{
//[AttributeUsage(validOn: AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class CustomAttribute: BeforeAfterTestAttribute
{
public override void Before(MethodInfo methodUnderTest)
{
}
public override void After(MethodInfo methodUnderTest)
{
}
}
}