Exemplo n.º 1
0
        public OptionSettings Clone()
        {
            OptionSettings optSettings = new OptionSettings(this);

            if (_wpfSettings != null)
            {
                optSettings._wpfSettings = _wpfSettings.Clone();
            }
            if (_webSuitePath != null)
            {
                optSettings._webSuitePath = string.Copy(_webSuitePath);
            }
            if (_localSuitePath != null)
            {
                optSettings._localSuitePath = string.Copy(_localSuitePath);
            }

            return(optSettings);
        }
        public OptionSettings Clone()
        {
            OptionSettings optSettings = new OptionSettings(this);

            if (_wpfSettings != null)
            {
                optSettings._wpfSettings = _wpfSettings.Clone();
            }
            if (_defaultSvgPath != null)
            {
                optSettings._defaultSvgPath = string.Copy(_defaultSvgPath);
            }
            if (_currentSvgPath != null)
            {
                optSettings._currentSvgPath = string.Copy(_currentSvgPath);
            }

            return(optSettings);
        }
Exemplo n.º 3
0
        public OptionSettings Clone()
        {
            OptionSettings optSettings = new OptionSettings(this);

            if (_wpfSettings != null)
            {
                optSettings._wpfSettings = _wpfSettings.Clone();
            }
            if (_defaultSvgPath != null)
            {
                optSettings._defaultSvgPath = new string(_defaultSvgPath.ToCharArray());
            }
            if (_currentSvgPath != null)
            {
                optSettings._currentSvgPath = new string(_currentSvgPath.ToCharArray());
            }

            return(optSettings);
        }
Exemplo n.º 4
0
        public OptionSettings Clone()
        {
            OptionSettings optSettings = new OptionSettings(this);

            if (_wpfSettings != null)
            {
                optSettings._wpfSettings = _wpfSettings.Clone();
            }
            if (_svgDirectory != null)
            {
                optSettings._svgDirectory = new string(_svgDirectory.ToCharArray());
            }
            if (_pngDirectory != null)
            {
                optSettings._pngDirectory = new string(_pngDirectory.ToCharArray());
            }

            return(optSettings);
        }