System.Func.Invoke(VeinMethod)

Here are the examples of the csharp api System.Func.Invoke(VeinMethod) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : VeinClass.cs
with MIT License
from vein-lang

public VeinMethod FindMethod(string name, Func<VeinMethod, bool> eq = null)
        {
            eq ??= s => s.RawName.Equals(name);

            foreach (var member in Methods)
            {
                if (eq(member))
                    return member;
            }

            return null;
        }