コード例 #1
0
 static public void AddFunctionHookInfo <REPRESENTATION_TYPE>(this RepresentationEngine item, string n, string p)
 {
     item.AddFunctionHookInfo(n, typeof(REPRESENTATION_TYPE).GetHookByPath(p));
 }
コード例 #2
0
 static public void AddFunctionInfo <REPRESENTATION_TYPE, DELEGATE_TYPE>(this RepresentationEngine item, string n, Process <REPRESENTATION_TYPE, DELEGATE_TYPE> a)
 {
     item.AddFunctionHookInfo(n,
                              new Hook_Operation <REPRESENTATION_TYPE, DELEGATE_TYPE>(n, a, null)
                              );
 }
コード例 #3
0
 static public void AddFunctionHookInfo(this RepresentationEngine item, Hook h)
 {
     item.AddFunctionHookInfo(h.GetHookName(), h);
 }