ErrorUnitCentral Class |
Namespace: ErrorUnit
public class ErrorUnitCentral : IErrorUnitCentral, IInjector, ILogger, IJsonSerializer
The ErrorUnitCentral type exposes the following members.
Name | Description | |
---|---|---|
_Injector |
Gets or sets the injector.
| |
_Logger |
Gets or sets the logger.
| |
Injector |
Gets or sets the injector.
| |
Instance |
Singleton Instance of ErrorUnitCentral
| |
JsonSerializer |
Gets or sets the json serializer.
| |
Logger |
Gets or sets the logger.
| |
serializerSettings |
Gets or sets the serializer settings.
|
Name | Description | |
---|---|---|
_DeserializeT |
Deserializes the specified json.
| |
_LinkInjectorT |
Links the injector.
| |
_SerializeT |
Serializes the specified object.
| |
_ThrowErrorStack |
Throws the error stack.
| |
CleanUp |
Cleans up Current stack; removing methods that have ended.
| |
CurrentStack_Add |
Adds to the Current stack.
| |
CurrentStack_EndWebCall |
Ends a web call on Current Stack.
| |
DeserializeT |
Deserializes the specified json.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetErrorUnitJson |
Gets the error unit json.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LinkInjectorT(T) |
Links the injector.
| |
LinkInjectorT(T, IErrorUnitCentral) |
Links the injector.
| |
Log(Exception) |
Logs the specified exception.
| |
Log(String, Exception) |
Logs the specified testable error json.
| |
SerializeT |
Serializes the specified object.
| |
ThrowErrorStack |
Throws the error stack.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnitTesting |
Sets ErrorUnit in Unit testing mode.
|
Name | Description | |
---|---|---|
CurrentlyUnitTesting |
Indicates if we are currently in unit testing mode.
|