Ejemplo n.º 1
0
        public void ModifySerialization(Action <SerializationSettings> action)
        {
            if (!isCloned)
            {
                serialization = serialization.Clone();
                isCloned      = true;
            }

            action(serialization);
            serialization.RegenSettings();
        }
Ejemplo n.º 2
0
 public static void AddExtraSettings(Action <JsonSerializerSettings> action)
 {
     serialization.AddExtraSettings(action);
     serialization.RegenSettings();
 }