summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Runtime/Serialization/IDeserializationCallback.cs
blob: 7c4336bf44fd27120d21d4ed1c79d3a0fc0a94a5 (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
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

/*============================================================
**
** Interface: IDeserializationEventListener
**
**
** Purpose: Implemented by any class that wants to indicate that
**          it wishes to receive deserialization events.
**
**
===========================================================*/
namespace System.Runtime.Serialization {
    using System;

    // Interface does not need to be marked with the serializable attribute    
    [System.Runtime.InteropServices.ComVisible(true)]
    public interface IDeserializationCallback {
#if FEATURE_SERIALIZATION
        void OnDeserialization(Object sender);
#endif
    
    }
}