public XmlSerializeOption() { CData = true; Declaration = true; StartElement = true; Converters.AddRange(GlobalConverters.GetConverters(typeof(XmlConverter))); }
private void CollectionComboBox_SelectionChanged(object obj) { // setup current entity CurrentEntity = GlobalConverters.ConvertToEntities <Entities>(obj); // fill entities collection SetupEntitiesCollection(); // let user pick up entity IsTypeOfEntityPicked = true; }
private void SelectionChanged(object obj) { CurrentEntity = GlobalConverters.ConvertToEntities <Entities>(obj); IsInsertEnabled = false; }
private void SelectionChanged(object obj) { CurrentEntity = GlobalConverters.ConvertToEntities <Entities>(obj); }
/// <summary> /// 初始化 <see cref="JsonSerializeOption"/> 类的新实例。 /// </summary> public JsonSerializeOption() { Indent = false; KeyHandling = JsonKeyHandling.Quote; Converters.AddRange(GlobalConverters.GetConverters(typeof(JsonConverter))); }