UnityEngine.PlaymodeTests.TestAttribute.GetAttribute C# (CSharp) Method

GetAttribute() static private method

static private GetAttribute ( MethodInfo method ) : PlayModeTestAttribute
method System.Reflection.MethodInfo
return PlayModeTestAttribute
        internal static PlayModeTestAttribute GetAttribute(MethodInfo method)
        {
            if (!Attribute.IsDefined(method, typeof(PlayModeTestAttribute)))
            {
                return null;
            }
            return (Attribute.GetCustomAttribute(method, typeof(PlayModeTestAttribute)) as PlayModeTestAttribute);
        }

Same methods

TestAttribute::GetAttribute ( Type type ) : PlayModeTestAttribute