public static void RunFuction(string string_2) { foreach (PlugIn @in in PlugInTree.smethod_0()) { Dictionary <string, Class135> .Enumerator enumerator = @in.method_4().GetEnumerator(); while (enumerator.MoveNext()) { KeyValuePair <string, Class135> current = enumerator.Current; using (List <Aisino.Framework.Plugin.Core.Plugin.Function> .Enumerator enumerator3 = current.Value.method_0().GetEnumerator()) { Aisino.Framework.Plugin.Core.Plugin.Function function; Interface2 interface2; while (enumerator3.MoveNext()) { function = enumerator3.Current; string id = function.Id; if (function.Id.Equals(string_2) && function.HasPermit) { goto Label_0080; } } continue; Label_0080: interface2 = (Interface2)function.PlugIn.method_9(function.Properties["class"]); interface2.imethod_0(); break; } } } }
public static void SetFuctionEnable(string string_2, bool bool_0) { foreach (PlugIn @in in PlugInTree.smethod_0()) { Dictionary <string, Class135> .Enumerator enumerator = @in.method_4().GetEnumerator(); while (enumerator.MoveNext()) { KeyValuePair <string, Class135> current = enumerator.Current; using (List <Aisino.Framework.Plugin.Core.Plugin.Function> .Enumerator enumerator3 = current.Value.method_0().GetEnumerator()) { Aisino.Framework.Plugin.Core.Plugin.Function function; while (enumerator3.MoveNext()) { function = enumerator3.Current; string id = function.Id; if (function.Id.Equals(string_2)) { goto Label_0074; } } continue; Label_0074: function.method_3(bool_0); break; } } } }
public static Dictionary <string, string>[] GetPlugIn() { ArrayList list = new ArrayList(); foreach (PlugIn @in in PlugInTree.smethod_0()) { if ([email protected]("hidden") || [email protected]["hidden"].Equals("true")) { StringBuilder builder = new StringBuilder(); foreach (Class132 class2 in @in.method_2()) { builder.Append(class2.Assembly).Append(";"); } Dictionary <string, string> properties = new Dictionary <string, string>(); properties = @in.Properties; if (!properties.ContainsKey("dll")) { properties.Add("dll", builder.ToString(0, builder.Length - 1)); } if (!properties.ContainsKey("menifest")) { properties.Add("menifest", @in.method_0()); } list.Add(properties); } } return((Dictionary <string, string>[])list.ToArray(typeof(Dictionary <string, string>))); }
internal static void smethod_6(string string_2, bool bool_0) { foreach (PlugIn @in in PlugInTree.smethod_0()) { Dictionary <string, Class135> .Enumerator enumerator = @in.method_4().GetEnumerator(); while (enumerator.MoveNext()) { KeyValuePair <string, Class135> current = enumerator.Current; foreach (Aisino.Framework.Plugin.Core.Plugin.Function function in current.Value.method_0()) { string id = function.Id; if (function.Id.Equals(string_2)) { function.method_1(bool_0); } } } } }