IFormatProvider.cs 629 B

1234567891011121314151617181920212223
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. /*============================================================
  5. **
  6. **
  7. **
  8. ** Purpose: Notes a class which knows how to return formatting information
  9. **
  10. **
  11. ============================================================*/
  12. using System;
  13. namespace System
  14. {
  15. public interface IFormatProvider
  16. {
  17. // Interface does not need to be marked with the serializable attribute
  18. object GetFormat(Type formatType);
  19. }
  20. }