OleViewDotNet.COMRegistryViewer.RunPythonFilter C# (CSharp) Method

RunPythonFilter() private static method

private static RunPythonFilter ( TreeNode node, bool>.Func python_filter ) : bool
node System.Windows.Forms.TreeNode
python_filter bool>.Func
return bool
        private static bool RunPythonFilter(TreeNode node, Func<object, bool> python_filter)
        {
            try
            {
                return python_filter(node.Tag);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.Message);
                return false;
            }
        }