Ejemplo n.º 1
0
        public void registerComparer(int order, MuxPathCompare method)
        {
            PreferencedComparer p = new PreferencedComparer();

            p.method     = method;
            p.preference = order;
            lock (this)
            {
                comparisonMethods.Add(p);
                comparisonSorted = false;
            }
        }
Ejemplo n.º 2
0
 public void registerComparer(int order, MuxPathCompare method)
 {
     PreferencedComparer p = new PreferencedComparer();
     p.method = method;
     p.preference = order;
     lock (this)
     {
         comparisonMethods.Add(p);
         comparisonSorted = false;
     }
 }