Exemplo n.º 1
0
        public configLoader(DisplayManager displayManager = null, string configPath = "syncconfig.xml")
        {
            this._configfile = configPath;

            if (object.ReferenceEquals(null, displayManager))
            {
                this.ScreenPrinter = new DisplayManager();
            }
            else
            {
                this.ScreenPrinter = displayManager;
            }

            this.reLoad();
        }
Exemplo n.º 2
0
        public SyncCopy(configLoader settings, DisplayManager displayManager = null)
        {
            this.configHandler = settings;
            if (object.ReferenceEquals(null, displayManager))
            {
                this.ScreenPrinter = new DisplayManager();
            }
            else
            {
                this.ScreenPrinter = displayManager;
            }

            if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
            {
                folder_delimiter = '/';
            }
        }