ICustomFormatter.cs 683 B

123456789101112131415161718192021222324
  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. ** Interface: ICustomFormatter
  7. **
  8. **
  9. ** Purpose: Marks a class as providing special formatting
  10. **
  11. **
  12. ===========================================================*/
  13. using System;
  14. namespace System
  15. {
  16. public interface ICustomFormatter
  17. {
  18. // Interface does not need to be marked with the serializable attribute
  19. string Format(string format, object arg, IFormatProvider formatProvider);
  20. }
  21. }