Пример #1
0
 //Singleton pattern
 public static Hooks GetInstance()
 {
     lock (syncLock)
     {
         if (thisInstance == null)
         {
             thisInstance = new Hooks();
         }
         return(thisInstance);
     }
 }
Пример #2
0
 public void InstallHook(Hooks.Hooks h)
 {
     h.AddHook("mungeQA", new LaTeXFilter());
 }
Пример #3
0
 public void Install(Hooks h)
 {
     h.AddHook("fmod_hint", new Hint());
 }
Пример #4
0
 public void Install(Hooks h)
 {
     h.AddHook("fmod_kanji", new Kanji());
     h.AddHook("fmod_kana", new Kana());
     h.AddHook("fmod_furigana", new Furigana());
 }
Пример #5
0
 public static void UnInstallHook(Hooks h)
 {
     h.RemoveHook("leech", leechHook);
 }
Пример #6
0
 public static void InstallHook(Hooks h)
 {
     h.AddHook("leech", leechHook);
 }