Пример #1
0
 protected internal ScriptableObject(XrayHandle instance, ScriptableObjectProvider provider)
 {
     _instance = new XrayProxy(instance, provider);
 }
Пример #2
0
        private static ScriptableObject GetScriptableObject(CefFrame frame)
        {
            var provider = new ScriptableObjectProvider(frame);

            return(new ScriptableObject(provider.GetGlobal(), provider));
        }
Пример #3
0
 internal XrayProxy(XrayHandle instance, ScriptableObjectProvider provider)
 {
     _instance       = instance;
     _providerHandle = GCHandle.Alloc(provider, GCHandleType.Normal);
 }