public static string ToUmbracoAlias(this MethodBase methodBase) { return(methodBase.CleanCallingMethodName().ToUmbracoAlias()); }
protected IEnumerable <T> Children <T>(MethodBase methodBase) where T : TypedModelBase { var docTypeAlias = methodBase.CleanCallingMethodName(); return(Children <T>(docTypeAlias)); }
protected IEnumerable <T> Descendants <T>(MethodBase methodBase) where T : TypedModelBase { var docTypeAlias = methodBase.CleanCallingMethodName(); return(Descendants <T>(docTypeAlias)); }