ErrorUnit.Interfaces Namespace |
Class | Description | |
---|---|---|
aErrorPrecondition |
Abstract class for creating an IErrorPrecondition, please inherit from this.
| |
TypeNameAndObjectValue |
Type name and object value
|
Interface | Description | |
---|---|---|
IErrorInfo |
Error Info
| |
IErrorPrecondition |
Error preconditions; Used to record the conditions that lead up to an error.
| |
IErrorUnitCentral |
IErrorUnitCentral Interface
| |
IInjector |
Standard Interface for ErrorUnit to work with IoC Dependency Injector. The Interceptor is attached to the IOC container; You will have to add the appropriate DLL and using statement for the IInjector you are using ( it will be named like ErrorUnit.Injector_... followed by your IOC library name).
Examples
Add this where you define your IOC container:
ErrorUnitCentral._Injector = new ErrorUnitInjector();
ErrorUnitCentral._LinkInjector(container); | |
IJsonSerializer |
Interface for ErrorUnit to uniformly act on JSON Serializers
| |
ILogger |
Standard Interface for ErrorUnit to work with your Error Logger; add ErrorUnitCentral._Logger = new ErrorUnitLogger(); where your application start code is.
|