Interface ITestLog
A test log.
public interface ITestLog : INotifyPropertyChanged
- Inherited Members
- Extension Methods
Remarks
This is intended to be easy for workflow views to bind to its properties.
Properties
Entries
Gets the collection of log entries.
ReadOnlyObservableCollection<ITestLogEntry> Entries { get; }
Property Value
LastEntry
Gets the last log entry in Entries.
ITestLogEntry LastEntry { get; }
Property Value
Remarks
This exists as a convenience for workflow views. Implementers should update this whenever Add(string) is called, raising a PropertyChanged event.
StartDateTime
Gets the start date/time for this log.
DateTimeOffset StartDateTime { get; }
Property Value
Remarks
This will never change.
Methods
Add(string)
Adds a log entry.
void Add(string message)
Parameters
message
stringThe log entry message.