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