示例#1
0
 public static bool Compare(this ISwitchCaseCollection source, ISwitchCaseCollection n, Func<ISwitchCase, ISwitchCase, bool> checkitem)
 {
     return Compare<ISwitchCase>(source,n,checkitem);
 }
示例#2
0
 public static bool Compare(this ISwitchCaseCollection source, ISwitchCaseCollection n, Func<ISwitchCase, ISwitchCase, Action<string, string>, bool> checkitem, Action<string, string> errAct)
 {
     return Compare<ISwitchCase>(source,n,checkitem,errAct);
 }
示例#3
0
 public static bool Compare(this ISwitchCaseCollection source, ISwitchCaseCollection n, Func <ISwitchCase, ISwitchCase, Action <string, string>, bool> checkitem, Action <string, string> errAct)
 {
     return(Compare <ISwitchCase>(source, n, checkitem, errAct));
 }
示例#4
0
 public static bool Compare(this ISwitchCaseCollection source, ISwitchCaseCollection n)
 {
     return Compare<ISwitchCase>(source,n);
 }
示例#5
0
 public static bool Compare(this ISwitchCaseCollection source, ISwitchCaseCollection n, Func <ISwitchCase, ISwitchCase, bool> checkitem)
 {
     return(Compare <ISwitchCase>(source, n, checkitem));
 }
示例#6
0
 public static bool Compare(this ISwitchCaseCollection source, ISwitchCaseCollection n)
 {
     return(Compare <ISwitchCase>(source, n));
 }
 public virtual void VisitSwitchCaseCollection(ISwitchCaseCollection value)
 {
     for (int i = 0; i < value.Count; i++)
     {
         this.VisitSwitchCase(value[i]);
     }
 }
 private void InsituTransformSwitchCaseCollection(ISwitchCaseCollection value)
 {
     for (int i = 0; i < value.Count; i++)
     {
         value[i] = this.TransformSwitchCase(value[i]);
     }
 }
        public virtual ISwitchCaseCollection TransformSwitchCaseCollection(ISwitchCaseCollection value)
        {
            ISwitchCase[] array = new ISwitchCase[value.Count];
            for (int i = 0; i < value.Count; i++)
            {
                array[i] = this.TransformSwitchCase(value[i]);
            }

            ISwitchCaseCollection target = new SwitchCaseCollection();
            target.AddRange(array);
            return target;
        }