GlobalGameJame/Library/PackageCache/com.unity.test-framework@1.1.9/UnityEngine.TestRunner/Utils/PostBuildCleanupAttribute.cs
JonatanRek bea2dce063 Initial
test
2020-01-31 16:10:04 +01:00

21 lines
588 B
C#

using System;
namespace UnityEngine.TestTools
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
public class PostBuildCleanupAttribute : Attribute
{
public PostBuildCleanupAttribute(Type targetClass)
{
TargetClass = targetClass;
}
public PostBuildCleanupAttribute(string targetClassName)
{
TargetClass = AttributeHelper.GetTargetClassFromName(targetClassName, typeof(IPostBuildCleanup));
}
internal Type TargetClass { get; private set; }
}
}