e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
67 lines
1.9 KiB
C#
67 lines
1.9 KiB
C#
// <copyright>
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace System.Runtime.Serialization
|
|
{
|
|
using System.Collections.Generic;
|
|
using System.Xml;
|
|
|
|
/// <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 this.maxItemsInObjectGraph; }
|
|
set { this.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 IDataContractSurrogate DataContractSurrogate { 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; }
|
|
}
|
|
}
|