Subtext.Framework.BlogInfo.FlagSetter C# (CSharp) Method

FlagSetter() protected method

Adds or removes a ConfigurationFlag to the flags set for this blog via bitmask operations.
protected FlagSetter ( ConfigurationFlags cf, bool select ) : void
cf ConfigurationFlags Cf.
select bool Select.
return void
        protected void FlagSetter(ConfigurationFlags cf, bool select)
        {
            if (select)
            {
                this.Flag = Flag | cf;
            }
            else
            {
                this.Flag = Flag & ~cf;
            }
        }