コード例 #1
0
 public XmlSerializeOption()
 {
     CData        = true;
     Declaration  = true;
     StartElement = true;
     Converters.AddRange(GlobalConverters.GetConverters(typeof(XmlConverter)));
 }
コード例 #2
0
        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;
        }
コード例 #3
0
        private void SelectionChanged(object obj)
        {
            CurrentEntity = GlobalConverters.ConvertToEntities <Entities>(obj);

            IsInsertEnabled = false;
        }
コード例 #4
0
 private void SelectionChanged(object obj)
 {
     CurrentEntity = GlobalConverters.ConvertToEntities <Entities>(obj);
 }
コード例 #5
0
 /// <summary>
 /// 初始化 <see cref="JsonSerializeOption"/> 类的新实例。
 /// </summary>
 public JsonSerializeOption()
 {
     Indent      = false;
     KeyHandling = JsonKeyHandling.Quote;
     Converters.AddRange(GlobalConverters.GetConverters(typeof(JsonConverter)));
 }