Files
StockSharp/Messages/IClientCodeMessage.cs
mika@stocksharp.com 66d9b6ac24 Messages: IClientCodeMessage and IBrokerCodeMessage interfaces
ClientCode duplicated in ExecutionMessage, OrderMessage, PortfolioMessage,
PositionChangeMessage; BrokerCode in ExecutionMessage and OrderMessage.
Callers that needed the code had to switch over concrete types — introduce
the interfaces and tag the classes so a single cast works.
2026-04-23 16:01:18 +03:00

13 lines
285 B
C#

namespace StockSharp.Messages;
/// <summary>
/// The interface describing a message with <see cref="ClientCode"/> property.
/// </summary>
public interface IClientCodeMessage
{
/// <summary>
/// Client code assigned by the broker.
/// </summary>
string ClientCode { get; set; }
}