コード例 #1
0
 public void CopyTo(MethodOverrideCollection copy)
 {
     foreach (var item in this)
     {
         copy.Add(item);
     }
 }
コード例 #2
0
 public virtual void Visit(MethodOverrideCollection overrides)
 {
     for (int i = 0; i < overrides.Count; i++)
     {
         Visit(overrides[i]);
     }
 }
コード例 #3
0
 public virtual void Build(MethodOverrideCollection overrides)
 {
     for (int i = 0; i < overrides.Count; i++)
     {
         var methodOverride = overrides[i];
         if (Build(ref methodOverride))
         {
             overrides[i] = methodOverride;
         }
     }
 }