Cuke4Nuke.Core.AfterHook.GetHookAttributes C# (CSharp) Метод

GetHookAttributes() приватный статический Метод

private static GetHookAttributes ( MethodInfo method ) : HookAttribute[]
method System.Reflection.MethodInfo
Результат HookAttribute[]
        private static HookAttribute[] GetHookAttributes(MethodInfo method)
        {
            return (HookAttribute[])method.GetCustomAttributes(typeof(AfterAttribute), true);
        }