public BinarySkimmer() { // Set Binscope friendly name for backwards compatibility, if one exists. string altId = BinScopeCompatibility.GetBinScopeRuleReadableName(this.Id); if (!String.IsNullOrEmpty(altId)) { this.SetProperty <string>(BinScopeCompatibility.EquivalentBinScopeRulePropertyName, altId); } }
public BinarySkimmer() { // Set Binscope friendly name for backwards compatibility, if one exists. string altId = BinScopeCompatibility.GetBinScopeRuleReadableName(this.Id); if (!string.IsNullOrEmpty(altId)) { this.SetProperty <string>(BinScopeCompatibility.EquivalentBinScopeRulePropertyName, altId); } // We should not emit a default level of anything but warning. The reason is that // doing so prevents any rule from overriding this value to warning (as warning // failure levels are elided during serialization). We need to support setting // result levels to 'null' to indicate they are in a default condition. this.DefaultConfiguration.Level = FailureLevel.Warning; }