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

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

            action(serialization);
            serialization.RegenSettings();
        }