Beispiel #1
0
 public static void UpdateRules <T>(CallSite <T> @this, int matched) where T : class
 {
     if (matched > 1)
     {
         @this.MoveRule(matched);
     }
 }
Beispiel #2
0
        public static void UpdateRules <T>(CallSite <T> @this, int matched)
            where T : class
        {
            if (@this == null)
            {
                throw new ArgumentNullException(nameof(@this));
            }

            if (matched > 1)
            {
                @this.MoveRule(matched);
            }
        }