Example #1
0
 public static void AddRule <T>(CallSite <T> site, T rule) where T : class
 {
     site.AddRule(rule);
 }
Example #2
0
 public static void ClearMatch(CallSite site)
 {
     site._match = true;
 }
Example #3
0
 public static bool GetMatch(CallSite site)
 {
     return(site._match);
 }
Example #4
0
 public static T Bind <T>(CallSiteBinder binder, CallSite <T> site, object[] args) where T : class
 {
     return(binder.BindCore(site, args));
 }
Example #5
0
 public static RuleCache <T> GetRuleCache <T>(CallSite <T> site) where T : class
 {
     return(site.Binder.GetRuleCache <T>());
 }
Example #6
0
 public static T[] GetRules <T>(CallSite <T> site) where T : class
 {
     return(site.Rules);
 }