private void OnRuleMatch(object sender, TestRuleRuleMatchEventArgs e) { base.WriteObject(e.Rule); TestPswaAuthorizationRuleCommand testPswaAuthorizationRuleCommand = this; testPswaAuthorizationRuleCommand.matches = testPswaAuthorizationRuleCommand.matches + 1; }