public void Describe(TextWriter writer, string indent, string indentText) { writer.WriteLine(indent + _name + " rule"); indent += indentText; if (_condition != null) { _condition.Describe(writer, indent, indentText); } if (_actions != null) { foreach (var action in _actions) { action.Describe(writer, indent, indentText); } } if (_stopProcessing) { writer.WriteLine(indent + "Stop processing"); } }