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; }
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); }