// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Xml;
namespace System.Runtime.Serialization
{
/// <summary>
/// Dummy documentation
/// </summary>
public class DataContractSerializerSettings
{
private int _maxItemsInObjectGraph = int.MaxValue;
/// <summary>
/// Gets or sets Dummy documentation
/// </summary>
public XmlDictionaryString? RootName { get; set; }
/// <summary>
/// Gets or sets Dummy documentation
/// </summary>
public XmlDictionaryString? RootNamespace { get; set; }
/// <summary>
/// Gets or sets Dummy documentation
/// </summary>
public IEnumerable<Type>? KnownTypes { get; set; }
/// <summary>
/// Gets or sets Dummy documentation
/// </summary>
public int MaxItemsInObjectGraph
{
get { return _maxItemsInObjectGraph; }
set { _maxItemsInObjectGraph = value; }
}
/// <summary>
/// Gets or sets a value indicating whether Dummy documentation
/// </summary>
public bool IgnoreExtensionDataObject { get; set; }
/// <summary>
/// Gets or sets a value indicating whether Dummy documentation
/// </summary>
public bool PreserveObjectReferences { get; set; }
/// <summary>
/// Gets or sets Dummy documentation
/// </summary>
public DataContractResolver? DataContractResolver { get; set; }
/// <summary>
/// Gets or sets a value indicating whether Dummy documentation
/// </summary>
public bool SerializeReadOnlyTypes { get; set; }
}
}
|