private void CacheGlobal(IJavascriptObject jsobject, IJSObservableBridge ibo) { if (jsobject.HasRelevantId()) { _FromJavascript_Global[jsobject.GetID()] = ibo; } }
private void Update(IJSObservableBridge ibo, IJavascriptObject jsobject) { ibo.SetMappedJSValue(jsobject, this); if (jsobject.HasRelevantId()) { _FromJavascript_Global[jsobject.GetID()] = ibo; } }
private IJSCSGlue GetCachedLocal(IJavascriptObject localkey) { if (!localkey.HasRelevantId()) { return(null); } IJSCSGlue res = null; _FromJavascript_Local.TryGetValue(localkey.GetID(), out res); return(res); }
public IJSCSGlue GetCached(IJavascriptObject globalkey) { return(_IWebView.Evaluate(() => { if (!globalkey.HasRelevantId()) { return null; } IJSCSGlue res = null; _FromJavascript_Global.TryGetValue(globalkey.GetID(), out res); return res; })); }
public IJSCSGlue GetCachedLocal(IJavascriptObject localkey) { return(!localkey.HasRelevantId() ? null : _FromJavascript_Local.GetOrDefault(localkey.GetID())); }
public IJSCSGlue GetGlobalCached(IJavascriptObject globalkey) { return(!globalkey.HasRelevantId() ? null : _FromJavascript_Global.GetOrDefault(globalkey.GetID())); }
private IJSCSGlue GetCachedLocal(IJavascriptObject localkey) { if (!localkey.HasRelevantId()) return null; IJSCSGlue res = null; _FromJavascript_Local.TryGetValue(localkey.GetID(), out res); return res; }
public IJSCSGlue GetCached(IJavascriptObject globalkey) { return _IWebView.Evaluate(() => { if (!globalkey.HasRelevantId()) return null; IJSCSGlue res = null; _FromJavascript_Global.TryGetValue(globalkey.GetID(), out res); return res; }); }
private void Update(IJSObservableBridge ibo, IJavascriptObject jsobject) { ibo.SetMappedJSValue(jsobject, this); if (jsobject.HasRelevantId()) _FromJavascript_Global[jsobject.GetID()] = ibo; }
public IJSCSGlue GetCachedLocal(IJavascriptObject localkey) { return !localkey.HasRelevantId() ? null : _FromJavascript_Local.GetOrDefault(localkey.GetID()); }
public IJSCSGlue GetGlobalCached(IJavascriptObject globalkey) { return !globalkey.HasRelevantId() ? null : _FromJavascript_Global.GetOrDefault(globalkey.GetID()); }
private void CacheGlobal(IJavascriptObject jsobject, IJSObservableBridge ibo) { if (jsobject.HasRelevantId()) _FromJavascript_Global[jsobject.GetID()] = ibo; }