Lines Matching defs:settings
69 /// Returns a formatter using the default settings.
126 private readonly Settings settings;
131 /// Creates a new formatted with the given settings.
133 /// <param name="settings">The settings.</param>
134 public JsonFormatter(Settings settings)
136 this.settings = ProtoPreconditions.CheckNotNull(settings, nameof(settings));
246 /// its value in the message, and the settings of this formatter.
254 : settings.FormatDefaultValues || !IsDefaultValue(field, value);
401 if (settings.FormatEnumsAsIntegers)
547 MessageDescriptor descriptor = settings.TypeRegistry.Find(typeName);
789 /// Default settings, as used by <see cref="JsonFormatter.Default"/>
854 /// Creates a new <see cref="Settings"/> object with the specified formatting of default values and the current settings.
860 /// Creates a new <see cref="Settings"/> object with the specified type registry and the current settings.
866 /// Creates a new <see cref="Settings"/> object with the specified enums formatting option and the current settings.