private void WriteCucumberMessages(JsonWriter jsonWriter, ConfigurationModel.CucumberMessages configurationCucumberMessagesSection) { jsonWriter.WritePropertyName("cucumber-messages"); jsonWriter.WriteStartObject(); jsonWriter.WritePropertyName("enabled"); jsonWriter.WriteValue(configurationCucumberMessagesSection.Enabled); jsonWriter.WriteEndObject(); }
private void WriteCucumberMessages(XmlWriter writer, ConfigurationModel.CucumberMessages configurationCucumberMessagesSection) { writer.WriteStartElement("cucumber-messages"); writer.WriteAttributeString("enabled", configurationCucumberMessagesSection.Enabled.ToString()); writer.WriteEndElement(); }