Пример #1
0
 private static void ProcessCommonFormat(CommonFieldFormat cff, XmlWriter xmlw)
 {
     xmlw.WriteStartElement("CommonFieldFormat");
     xmlw.WriteAttributeString("EnableSuppressIfDuplicated", cff.EnableSuppressIfDuplicated.ToStringSafe());
     xmlw.WriteAttributeString("EnableUseSystemDefaults", cff.EnableUseSystemDefaults.ToStringSafe());
     xmlw.WriteEndElement();
 }
Пример #2
0
 private static void ProcessCommonFormat(CommonFieldFormat cff, XmlWriter xmlw)
 {
     xmlw.WriteStartElement("CommonFieldFormat");
     xmlw.WriteAttributeString("EnableSuppressIfDuplicated", cff.EnableSuppressIfDuplicated.ToStringSafe());
     xmlw.WriteAttributeString("EnableSystemDefault", cff.EnableSystemDefault.ToStringSafe());
     xmlw.WriteAttributeString("EnableSuppressIfDuplicatedFormula", cff.ConditionFormulas[CrCommonFieldFormatConditionFormulaTypeEnum.crCommonFieldFormatConditionFormulaTypeSuppressIfDuplicated].Text);
     xmlw.WriteAttributeString("EnableSystemDefaultFormula", cff.ConditionFormulas[CrCommonFieldFormatConditionFormulaTypeEnum.crCommonFieldFormatConditionFormulaTypeUseSystemDefault].Text);
     xmlw.WriteEndElement();
 }
Пример #3
0
 private static void ProcessCommonFormat(CommonFieldFormat cff, Utf8JsonWriter jsonw)
 {
     jsonw.WritePropertyName("CommonFieldFormat");
     jsonw.WriteStartObject();
     jsonw.WriteString("EnableSuppressIfDuplicated", cff.EnableSuppressIfDuplicated.ToStringSafe());
     jsonw.WriteString("EnableSystemDefault", cff.EnableSystemDefault.ToStringSafe());
     jsonw.WriteString("EnableSuppressIfDuplicatedFormula", cff.ConditionFormulas[CrCommonFieldFormatConditionFormulaTypeEnum.crCommonFieldFormatConditionFormulaTypeSuppressIfDuplicated].Text);
     jsonw.WriteString("EnableSystemDefaultFormula", cff.ConditionFormulas[CrCommonFieldFormatConditionFormulaTypeEnum.crCommonFieldFormatConditionFormulaTypeUseSystemDefault].Text);
     jsonw.WriteEndObject();
 }