Пример #1
0
 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();
 }
Пример #2
0
 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();
 }
Пример #3
0
 private static void ProcessBooleanFormat(BooleanFieldFormat bff, XmlWriter xmlw)
 {
     xmlw.WriteStartElement("BooleanFieldFormat");
     xmlw.WriteAttributeString("OutputType", bff.OutputType.ToStringSafe());
     xmlw.WriteEndElement();
 }