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.
|
![]() | ErrorUnitInterceptor |
ErrorUnit's DynamicProxy Intercept; so methods can have their errors recorded in ErrorUnit format.
|
![]() | Injector |
Gets or sets the injector.
|
![]() ![]() | Instance |
Singleton Instance of ErrorUnitCentral
|
![]() | JsonSerializer |
Gets or sets the json serializer.
|
![]() | LastErrorStack |
Last Error Stack Thrown
|
![]() | Logger |
Gets or sets the logger.
|
![]() | serializerSettings |
Gets or sets the serializer settings.
|
Name | Description | |
---|---|---|
![]() ![]() | _CleanUp |
Cleans up Current stack; removing methods that have ended.
|
![]() ![]() | _CurrentStack_Add |
Adds to the Current stack.
|
![]() ![]() | _DeserializeT |
Deserializes the specified json.
|
![]() ![]() | _GenerateErrorPrecondition |
Generate Error Precondition
|
![]() ![]() | _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.
|
![]() ![]() | WrapI | Create an ErrorUnit Proxy class, wrapping the specified class so that all exceptions from its interface methods and/or virtual methods are recorded in ErrorUnit format. Alternately if you are already using Castle.DynamicProxy in your project you can just pass in _ErrorUnitInterceptor as a IInterceptor. |
Name | Description | |
---|---|---|
![]() ![]() | _ErrorUnitInterceptor |
ErrorUnit's DynamicProxy Intercept; so methods can have their errors recorded in ErrorUnit format.
|
![]() ![]() | CurrentlyUnitTesting |
Indicates if we are currently in unit testing mode.
|
![]() ![]() | DontSerializeTypeMembers |
List of type names and their specific members names (properties and fields) to skip serialization.
i.e. DontSerializeTypeMembers.AddDontSerializeTypeMembers("Namespace.DeclaringTypeName","MemberName"); |