예제 #1
0
        public FormatHxs(FormatHxs source)
            : base(source)
        {
            _keepSources      = source._keepSources;
            _separateIndex    = source._separateIndex;
            _includeStopWords = source._includeStopWords;
            _compilerFile     = source._compilerFile;
            _compilerDir      = source._compilerDir;

            _helpTitleId = source._helpTitleId;

            // Plugin properties...
            _pluginTocFlat  = source._pluginTocFlat;
            _pluginTitle    = source._pluginTitle;
            _pluginParents  = source._pluginParents;
            _pluginChildren = source._pluginChildren;

            // Named Url Properties...
            _homePage       = source._homePage;
            _defaultPage    = source._defaultPage;
            _navFailPage    = source._navFailPage;
            _aboutPageInfo  = source._aboutPageInfo;
            _aboutPageIcon  = source._aboutPageIcon;
            _filterEditPage = source._filterEditPage;
            _helpPage       = source._helpPage;
            _supportPage    = source._supportPage;
            _sampleDirPage  = source._sampleDirPage;
            _searchHelpPage = source._searchHelpPage;
        }
예제 #2
0
        public override BuildFormat Clone()
        {
            FormatHxs format = new FormatHxs(this);

            base.Clone(format);

            if (_compilerFile != null)
            {
                format._compilerFile = _compilerFile.Clone();
            }
            if (_compilerDir != null)
            {
                format._compilerDir = _compilerDir.Clone();
            }
            if (_helpTitleId != null)
            {
                format._helpTitleId = String.Copy(_helpTitleId);
            }
            if (_pluginTitle != null)
            {
                format._pluginTitle = String.Copy(_pluginTitle);
            }
            if (_homePage != null)
            {
                format._homePage = String.Copy(_homePage);
            }
            if (_defaultPage != null)
            {
                format._defaultPage = String.Copy(_defaultPage);
            }
            if (_navFailPage != null)
            {
                format._navFailPage = String.Copy(_navFailPage);
            }
            if (_aboutPageInfo != null)
            {
                format._aboutPageInfo = String.Copy(_aboutPageInfo);
            }
            if (_aboutPageIcon != null)
            {
                format._aboutPageIcon = String.Copy(_aboutPageIcon);
            }
            if (_filterEditPage != null)
            {
                format._filterEditPage = String.Copy(_filterEditPage);
            }
            if (_helpPage != null)
            {
                format._helpPage = String.Copy(_helpPage);
            }
            if (_supportPage != null)
            {
                format._supportPage = String.Copy(_supportPage);
            }
            if (_sampleDirPage != null)
            {
                format._sampleDirPage = String.Copy(_sampleDirPage);
            }
            if (_searchHelpPage != null)
            {
                format._searchHelpPage = String.Copy(_searchHelpPage);
            }

            if (_pluginParents != null)
            {
                format._pluginParents = _pluginParents.Clone();
            }
            if (_pluginChildren != null)
            {
                format._pluginChildren = _pluginChildren.Clone();
            }

            return(format);
        }