Beispiel #1
0
 public static ModuleHelper GetModuleHelper(FFILanguage language)
 {
     if (language == FFILanguage.CPlusPlus || language == FFILanguage.CSharp)
     {
         return(helpers[language]);
     }
     return(null);
 }
Beispiel #2
0
        public static void Register(FFILanguage type, ModuleHelper helper)
        {
            if (!registered)
            {
                Register();
            }

            if (!helpers.ContainsKey(type))
            {
                helpers.Add(type, helper);
            }
        }