public static GlimpseFilterCallMetadata ControllerAction(ActionDescriptor actionDescriptor, bool isChild) { return new GlimpseFilterCallMetadata { Category = "", Guid = Guid.NewGuid(), InnerFilter = null, IsChild = isChild, Order = null, Method = actionDescriptor.GetMethodNameWithParameters(), Scope = null, Type = actionDescriptor.ControllerDescriptor.ControllerType, }; }