/// <summary> /// Initializes a new instance of the <see cref="Message"/> class. /// </summary> /// <param name="homePool">The home pool.</param> internal Message(CommunicationLayer.Generic.IBufferLink homePool) : base(2048, homePool, false) { switch (DS_DataProviderID.GetExcelLanguage()) { case DS_DataProviderID.ExcelLanguageEnum.English: excelDDEItemBlock = Resources.Excel_DDE_Item_Block_English; break; case DS_DataProviderID.ExcelLanguageEnum.Polish: excelDDEItemBlock = Resources.Excel_DDE_Item_Block_Polish; break; default: TraceEvent(System.Diagnostics.TraceEventType.Warning, 114, "Not supported localisation, English localisation is used instead"); break; } }
/// <summary> /// Initializes a new instance of the <see cref="NULL_message"/> class. /// </summary> /// <param name="homePool">The home pool.</param> internal NULL_message(CommunicationLayer.Generic.IBufferLink homePool) : base(30, homePool, false) { }
/// <summary> /// Initializes a new instance of the <see cref="NULL_message"/> class. /// </summary> /// <param name="homePool">The home pool.</param> internal NULL_message(CommunicationLayer.Generic.IBufferLink homePool) : base(250, homePool, false) { rnd = new Random(System.DateTime.Now.Millisecond); }