public override void Handle(T obj) { if (Handler != null) { GlobalReference.GetInstance().ExecutionQueue.Add(() => Handler(obj)); } }
public static void Clear() { Module = null; Runner = null; g = null; OverrideCurrentUserConfigName = null; }
public static void Init() { Module = new Module(); Runner = new Runner(Module); g = new GlobalReference(); g.styles = new Styles(); g.styles.InitStyles(); }
private static Expression GetNonPublicObject(object value, Type type) { var i = GlobalReference.GetIndex(value); return(Expression.Convert( Expression.Call( typeof(GlobalReference).GetMethod(nameof(GlobalReference.GetObject)), Expression.Constant(i)), type)); }
public static List <GlobalReference> getGlobReferences(int index) { Class.manageImg managerView = HttpContext.Current.Session["managerView"] as Class.manageImg; List <GlobalReference> globRefList = new List <GlobalReference>(); for (int k = 0; k < managerView.allImages[index][0].GlobalReferences.Count(); k++) { GlobalReference GlobRef = new GlobalReference(); GlobRef.PathImageMin = "ShowImage.ashx?NqC3ke=4&tXt9X3=0&XwjRGm=1&Hsfke2=0&yAR8st=1&WkYTCe=" + obfuscate(managerView.allImages[index][0].GlobalReferences[k].PathImageMin); GlobRef.PathImageMax = "ShowImage.ashx?NqC3ke=4&tXt9X3=0&XwjRGm=1&Hsfke2=0&yAR8st=1&WkYTCe=" + obfuscate(managerView.allImages[index][0].GlobalReferences[k].PathImageMax); GlobRef.DescriptionScale = managerView.allImages[index][0].GlobalReferences[k].DescriptionScale; GlobRef.ID_TypScale = managerView.allImages[index][0].GlobalReferences[k].ID_TypScale; GlobRef.Idgroup = managerView.allImages[index][0].GlobalReferences[k].Idgroup; globRefList.Add(GlobRef); } return(globRefList); }
public static void Clear() { Module = null; Runner = null; g = null; }
public static void Init() { Module = new Module(); Runner = new Runner(Module); g = new GlobalReference(); }
public static void Init() { Module = new Module(); g = new GlobalReference(); }
public static void RunInMainThread(Runnable function) { GlobalReference.GetInstance().ExecutionQueue.Add(function); }
public virtual object Visit(GlobalReference that, object value) { throw new System.NotImplementedException(); }