Пример #1
0
        /// <summary>
        /// Decompile the HelpFilter table.
        /// </summary>
        /// <param name="table">The table to decompile.</param>
        private void DecompileHelpFilterTable(Table table)
        {
            foreach (Row row in table.Rows)
            {
                VS.HelpFilter helpFilter = new VS.HelpFilter();

                helpFilter.Id = (string)row[0];

                helpFilter.Name = (string)row[1];

                if (null != row[2])
                {
                    helpFilter.FilterDefinition = (string)row[2];
                }

                this.Core.RootElement.AddChild(helpFilter);
            }
        }
Пример #2
0
        /// <summary>
        /// Decompile the HelpFilter table.
        /// </summary>
        /// <param name="table">The table to decompile.</param>
        private void DecompileHelpFilterTable(Table table)
        {
            foreach (Row row in table.Rows)
            {
                VS.HelpFilter helpFilter = new VS.HelpFilter();

                helpFilter.Id = (string)row[0];

                helpFilter.Name = (string)row[1];

                if (null != row[2])
                {
                    helpFilter.FilterDefinition = (string)row[2];
                }

                if (this.Core.RootElement is Wix.Module)
                {
                    helpFilter.SuppressCustomActions = VS.YesNoType.yes;
                }

                this.Core.RootElement.AddChild(helpFilter);
            }
        }
Пример #3
0
        /// <summary>
        /// Decompile the HelpFilter table.
        /// </summary>
        /// <param name="table">The table to decompile.</param>
        private void DecompileHelpFilterTable(Table table)
        {
            foreach (Row row in table.Rows)
            {
                VS.HelpFilter helpFilter = new VS.HelpFilter();

                helpFilter.Id = (string)row[0];

                helpFilter.Name = (string)row[1];

                if (null != row[2])
                {
                    helpFilter.FilterDefinition = (string)row[2];
                }

                if (this.Core.RootElement is Wix.Module)
                {
                    helpFilter.SuppressCustomActions = VS.YesNoType.yes;
                }

                this.Core.RootElement.AddChild(helpFilter);
            }
        }