IXmlJsonReaderInitializer.cs 826 B

123456789101112131415161718192021
  1. //------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------
  4. namespace System.Runtime.Serialization.Json
  5. {
  6. using System.IO;
  7. using System.Text;
  8. using System.Xml;
  9. using System.Runtime.CompilerServices;
  10. [TypeForwardedFrom("System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
  11. public interface IXmlJsonReaderInitializer
  12. {
  13. void SetInput(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas,
  14. OnXmlDictionaryReaderClose onClose);
  15. void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas,
  16. OnXmlDictionaryReaderClose onClose);
  17. }
  18. }