private void CollectSkipRescue(ActionMetaDescriptor actionDescriptor, MethodInfo method)
{
object[] attributes = method.GetCustomAttributes(typeof(SkipRescueAttribute), true);
if (attributes.Length != 0)
{
actionDescriptor.SkipRescue = (SkipRescueAttribute) attributes[0];
}
}