Exemple #1
0
        public Outputter(string name)
        {
            outputPaths = new List <string[]>();
#if NETFULL
            GloBrowser.Start(name);
            GloBrowser.Browser.GoToAddress("");
            Output = GloBrowser.Browser.HomeObjects;
#else
            Output = new Dictionary <string, object>();
#endif
        }
Exemple #2
0
        public Outputter(string name, bool useGlo)
        {
            outputPaths = new List <string[]>();
            UsingGlo    = useGlo;
            if (useGlo)
            {
#if NETFULL
                GloBrowser.Start(name);
                GloBrowser.Browser.GoToAddress("");
                Output = GloBrowser.Browser.HomeObjects;
#else
                throw new NotSupportedException("Glo is not supported on .NET Core.");
#endif
            }
            else
            {
                Output = new Dictionary <string, object>();
            }
        }