mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 01:22:11 +00:00
22 lines
548 B
C#
22 lines
548 B
C#
namespace StockSharp.Configuration;
|
|
|
|
/// <summary>
|
|
/// Product id attribute.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
|
|
public class ProductIdAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// Product id.
|
|
/// </summary>
|
|
public long ProductId { get; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ProductIdAttribute"/>.
|
|
/// </summary>
|
|
/// <param name="productId"><see cref="ProductId"/></param>
|
|
public ProductIdAttribute(long productId)
|
|
{
|
|
ProductId = productId;
|
|
}
|
|
} |