Interface ISelfTest
Interface to be implemented by SelfTests. SelfTests must be registered by the service provider and is resolved by TryCreateTypes(Type, out IEnumerable<object>)
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public interface ISelfTest
Methods
DoTest(out string)
Carry out selftest.
Declaration
bool DoTest(out string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | Message to add to log if someting fails |
Returns
| Type | Description |
|---|---|
| bool | True if test is passes |