~ruther/NosSmooth.Local

ref: e3484c3c19b7c13eb58121affde55a6e2fb2e310 NosSmooth.Local/src/Extensions/NosSmooth.Extensions.SharedBinding/EventArgs/InstanceEventArgs.cs -rw-r--r-- 885 bytes
e3484c3c — Rutherther feat(shared): add part of shared lifetime 2 years ago
                                                                                
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
26
27
28
29
//
//  InstanceEventArgs.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

using NosSmooth.Extensions.SharedBinding.Lifetime;

namespace NosSmooth.Extensions.SharedBinding.EventArgs;

/// <summary>
/// Arguments containing information about a shared instance.
/// </summary>
public class InstanceEventArgs : System.EventArgs
{
    /// <summary>
    /// Initializes a new instance of the <see cref="InstanceEventArgs"/> class.
    /// </summary>
    /// <param name="instanceInfo">The new instance.</param>
    public InstanceEventArgs(SharedInstanceInfo instanceInfo)
    {
        InstanceInfo = instanceInfo;
    }

    /// <summary>
    /// Gets the information about the new instance.
    /// </summary>
    public SharedInstanceInfo InstanceInfo { get; }
}
Do not follow this link