コード例 #1
0
        public static ICefCoreSession GetAndInitIfNeeded(CefSettings iCefSettings = null, params string[] args)
        {
            if (Session==null)
            {
                if (SessionFactory==null)
                    SessionFactory = new CefCoreSessionFactory(iCefSettings, args);

                Session = SessionFactory.GetSession();
            }

            return Session;
        }
コード例 #2
0
        public static ICefCoreSession GetAndInitIfNeeded(CefSettings iCefSettings = null, params string[] args)
        {
            if (Session == null)
            {
                if (SessionFactory == null)
                {
                    SessionFactory = new CefCoreSessionFactory(iCefSettings, args);
                }

                Session = SessionFactory.GetSession();
            }

            return(Session);
        }