25 lines
825 B
C#
25 lines
825 B
C#
|
|
using DTS.Common.Interface.TestSetups.Imports.TTS.ReadFile;
|
|||
|
|
using Prism.Events;
|
|||
|
|
|
|||
|
|
namespace DTS.Common.Events
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// The TTSImportReadFileStatusEvent event.
|
|||
|
|
/// </summary>
|
|||
|
|
///
|
|||
|
|
/// <remarks>
|
|||
|
|
/// This event is used to determine the success/failure of reading a file.
|
|||
|
|
/// If Status is True, the read was successful and TTSSetup contains the Test Setup that was read.
|
|||
|
|
/// If Status is False, the read was not successful, and ErrorMessage contains the reason.
|
|||
|
|
/// </remarks>
|
|||
|
|
///
|
|||
|
|
public class TTSImportReadFileStatusEvent : PubSubEvent<ReadFileStatusArg> { }
|
|||
|
|
|
|||
|
|
public class ReadFileStatusArg
|
|||
|
|
{
|
|||
|
|
public bool Status { get; set; }
|
|||
|
|
public ITTSSetup TTSSetup { get; set; }
|
|||
|
|
public string ErrorMessage { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|