ICustomFormatter.cs 591 B

123456789101112131415161718192021
  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. namespace System
  14. {
  15. public interface ICustomFormatter
  16. {
  17. string Format(string? format, object? arg, IFormatProvider? formatProvider);
  18. }
  19. }