Files
StockSharp/Community/ProductLookupMessage.cs
T

37 lines
820 B
C#

namespace StockSharp.Community
{
using System;
using System.Runtime.Serialization;
using StockSharp.Messages;
/// <summary>
/// Product lookup message.
/// </summary>
[DataContract]
[Serializable]
public class ProductLookupMessage : BaseSubscriptionMessage
{
/// <summary>
/// Initializes a new instance of the <see cref="ProductLookupMessage"/>.
/// </summary>
public ProductLookupMessage()
: base(CommunityMessageTypes.ProductLookup)
{
}
/// <inheritdoc />
public override DataType DataType => CommunityMessageTypes.ProductInfoType;
/// <summary>
/// Create a copy of <see cref="ProductFeedbackMessage"/>.
/// </summary>
/// <returns>Copy.</returns>
public override Message Clone()
{
var clone = new ProductLookupMessage();
CopyTo(clone);
return clone;
}
}
}