Example #1
0
        // Listing targets

        IEnumerable <int> EnumAllIds()
        {
            short pmax = graph.NumProviders;

            for (short i = 0; i < pmax; i++)
            {
                int tmax = graph.GetProviderTargetBound(i);

                for (int tid = (int)((((uint)i) << 16) & 0xFFFF0000); tid < tmax; tid++)
                {
                    yield return(tid);
                }
            }
        }
Example #2
0
 public int GetProviderTargetBound(short id)
 {
     n_GetProviderTargetBound++;
     return(inner.GetProviderTargetBound(id));
 }