Table of Contents

Interface ITestLog

Namespace
Acuit.Pinpoint.Workflows.Testing
Assembly
Acuit.Pinpoint.Workflows.Testing.dll

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

ReadOnlyObservableCollection<ITestLogEntry>

LastEntry

Gets the last log entry in Entries.

ITestLogEntry LastEntry { get; }

Property Value

ITestLogEntry

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

DateTimeOffset

Remarks

This will never change.

Methods

Add(string)

Adds a log entry.

void Add(string message)

Parameters

message string

The log entry message.