mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 01:22:11 +00:00
IMessageConverter and MessageConverter map FIX record structs to StockSharp messages and back. They referenced nothing but Fix.Core, yet lived in a project named Server.Protocol, so anything consuming the mapping - including a client codec - had to compile against a Server.* assembly. They now sit in Fix.Core under namespace StockSharp.Fix, next to FixOrderCondition and FixMessageTypes, which makes the wire tier Fix.Core -> codec -> connector with no server assembly in the chain. Both types become public API of the StockSharp.Fix.Core package. Fix.Core gains the two aliases the mapping needs (FixExtensions, FixTimeInForce) - inside StockSharp.Fix both Extensions and TimeInForce are ambiguous between StockSharp.Messages and StockSharp.Fix.Native. The 72 round-trip tests come along as Tests/MessageConverterTests*, and Tests takes its first reference on Fix.Core. The mass-cancel scope test asserts tag 530 on the record the converter produces instead of calling the helper that derives it, so GetMassCancelRequestType stays private and Fix.Core needs no InternalsVisibleTo beyond the one Fix.Dialects already has.
15 lines
582 B
C#
15 lines
582 B
C#
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
|
|
// General Information about an assembly is controlled through the following
|
|
// set of attributes. Change these attribute values to modify the information
|
|
// associated with an assembly.
|
|
[assembly: AssemblyTitle("S#.Fix.Core")]
|
|
[assembly: AssemblyDescription("Fix core.")]
|
|
|
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
[assembly: Guid("09288ea4-7084-4158-a589-713906931212")]
|
|
|
|
[assembly: InternalsVisibleTo("StockSharp.Fix.Dialects")]
|