Microsoft.Zing.Splicer.FindMatchingInterfaces C# (CSharp) Method

FindMatchingInterfaces() private method

private FindMatchingInterfaces ( Class c, ZMethod zMethod ) : InterfaceList
c Class
zMethod ZMethod
return InterfaceList
        private InterfaceList FindMatchingInterfaces(Class c, ZMethod zMethod)
        {
            InterfaceList matches = new InterfaceList(1);
            if (c.Interfaces != null && c.Interfaces.Count > 0)
            {
                for (int i = 0; i < c.Interfaces.Count; i++)
                {
                    Interface x = c.Interfaces[i];
                    if (x.GetMatchingMethod(zMethod) != null)
                        matches.Add(x);
                }
            }
            return matches;
        }