jump-game/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEngine.TestRunner/Utils/PostBuildCleanupAttribute.cs

21 lines
560 B
C#
Raw Normal View History

2020-01-29 08:05:38 +00:00
using System;
namespace UnityEngine.TestTools
{
[AttributeUsage(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; }
}
}