public ConfigurationOption(ConfigurationOption option)
        {
            if (option == null)
            {
                throw new ArgumentNullException(nameof(option));
            }

            DefaultOrg = option.DefaultOrg;
        }
Example #2
0
 public PSRuleOption()
 {
     // Set defaults
     Configuration = new ConfigurationOption();
     Output        = new OutputOption();
 }
 public bool Equals(ConfigurationOption other)
 {
     return(other != null &&
            DefaultOrg == other.DefaultOrg);
 }