~ruther/NosSmooth.Comms

ref: fe65520941bab5c5e7053f94f58a692e1f65a6b2 NosSmooth.Comms/src/Core/NosSmooth.Comms.Core/ConnectionInjector.cs -rw-r--r-- 664 bytes
fe655209 — Rutherther chore: put Tcp, NamedPipes and LocalData assemblies into other assemblies to reduce number of unnecessary projects 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
//
//  ConnectionInjector.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.Comms.Data;

namespace NosSmooth.Comms.Core;

/// <summary>
/// Injects connection and connection handler into dependency injection.
/// </summary>
public class ConnectionInjector
{
    /// <summary>
    /// Gets or sets the connection.
    /// </summary>
    public IConnection? Connection { get; set; }

    /// <summary>
    /// Gets or sets the connection handler.
    /// </summary>
    public ConnectionHandler? ConnectionHandler { get; set; }
}
Do not follow this link