private static void ProcessBooleanFormat(BooleanFieldFormat bff, XmlWriter xmlw) { xmlw.WriteStartElement("BooleanFieldFormat"); xmlw.WriteAttributeString("OutputFormat", bff.OutputFormat.ToStringSafe()); xmlw.WriteAttributeString("OutputFormatFormula", bff.ConditionFormulas[CrBooleanFieldFormatConditionFormulaTypeEnum.crBooleanFieldFormatConditionFormulaTypeOutputFormat].Text); xmlw.WriteEndElement(); }
private static void ProcessBooleanFormat(BooleanFieldFormat bff, Utf8JsonWriter jsonw) { jsonw.WritePropertyName("BooleanFieldFormat"); jsonw.WriteStartObject(); jsonw.WriteString("OutputFormat", bff.OutputFormat.ToStringSafe()); jsonw.WriteString("OutputFormatFormula", bff.ConditionFormulas[CrBooleanFieldFormatConditionFormulaTypeEnum.crBooleanFieldFormatConditionFormulaTypeOutputFormat].Text); jsonw.WriteEndObject(); }
private static void ProcessBooleanFormat(BooleanFieldFormat bff, XmlWriter xmlw) { xmlw.WriteStartElement("BooleanFieldFormat"); xmlw.WriteAttributeString("OutputType", bff.OutputType.ToStringSafe()); xmlw.WriteEndElement(); }