~ruther/NosSmooth

ref: 7a30c95d162ec3a3ce1691f7b72b20e515a7c785 NosSmooth/Tests/NosSmooth.Core.Tests/Contracts/ContractData.cs -rw-r--r-- 712 bytes
7a30c95d — Rutherther tests(core): add tests for contracts 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
//
//  ContractData.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.

namespace NosSmooth.Core.Tests.Contracts;

/// <summary>
/// Data for updating a contract.
/// </summary>
/// <typeparam name="T">The type of the data.</typeparam>
public class ContractData<T>
{
    /// <summary>
    /// Initializes a new instance of the <see cref="ContractData{T}"/> class.
    /// </summary>
    /// <param name="data">The data to pass.</param>
    public ContractData(T data)
    {
        Data = data;
    }

    /// <summary>
    /// Gets the data.
    /// </summary>
    public T Data { get; }
}
Do not follow this link