summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/ICustomFormatter.cs
blob: cbc3816a82f883abcf7c4746b19931540ac510b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

/*============================================================
**
** Interface:  ICustomFormatter
**
**
** Purpose: Marks a class as providing special formatting
**
**
===========================================================*/
namespace System {
    
    using System;
    using System.Runtime.Serialization;

    [System.Runtime.InteropServices.ComVisible(true)]
    public interface ICustomFormatter
    {
        // Interface does not need to be marked with the serializable attribute
        String Format (String format, Object arg, IFormatProvider formatProvider);
    }
}