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