(MethodInfo info)
| 314 | } |
| 315 | |
| 316 | public static bool ShouldIgnoreMethod(MethodInfo info) |
| 317 | { |
| 318 | if (info.Name.Equals("Close") && info.DeclaringType.GetInterface("IDisposable") != null) |
| 319 | { |
| 320 | return true; |
| 321 | } |
| 322 | |
| 323 | return false; |
| 324 | } |
| 325 | |
| 326 | public static Func<dynamic, String> LazyTemplate(string templateName, string templateLocation, string templateExtension) |
| 327 | { |