示例#1
0
        private void WriteCucumberMessages(JsonWriter jsonWriter, ConfigurationModel.CucumberMessages configurationCucumberMessagesSection)
        {
            jsonWriter.WritePropertyName("cucumber-messages");

            jsonWriter.WriteStartObject();
            jsonWriter.WritePropertyName("enabled");
            jsonWriter.WriteValue(configurationCucumberMessagesSection.Enabled);

            jsonWriter.WriteEndObject();
        }
示例#2
0
 private void WriteCucumberMessages(XmlWriter writer, ConfigurationModel.CucumberMessages configurationCucumberMessagesSection)
 {
     writer.WriteStartElement("cucumber-messages");
     writer.WriteAttributeString("enabled", configurationCucumberMessagesSection.Enabled.ToString());
     writer.WriteEndElement();
 }