Click or drag to resize
ErrorUnitCentral Class
ErrorUnit Central Object that enables it all.
Inheritance Hierarchy
SystemObject
  ErrorUnitErrorUnitCentral

Namespace: ErrorUnit
Assembly: ErrorUnit (in ErrorUnit.dll) Version: 1.0.0.27669 (1.0.0.0)
Syntax
C#
public class ErrorUnitCentral : IErrorUnitCentral, 
	IInjector, ILogger, IJsonSerializer

The ErrorUnitCentral type exposes the following members.

Properties
  NameDescription
Public propertyStatic member_Injector
Gets or sets the injector.
Public propertyStatic member_Logger
Gets or sets the logger.
Public propertyInjector
Gets or sets the injector.
Public propertyStatic memberInstance
Singleton Instance of ErrorUnitCentral
Public propertyJsonSerializer
Gets or sets the json serializer.
Public propertyLogger
Gets or sets the logger.
Public propertyserializerSettings
Gets or sets the serializer settings.
Top
Methods
  NameDescription
Public methodStatic member_DeserializeT
Deserializes the specified json.
Public methodStatic member_LinkInjectorT
Links the injector.
Public methodStatic member_SerializeT
Serializes the specified object.
Public methodStatic member_ThrowErrorStack
Throws the error stack.
Public methodCleanUp
Cleans up Current stack; removing methods that have ended.
Public methodCurrentStack_Add
Adds to the Current stack.
Public methodCurrentStack_EndWebCall
Ends a web call on Current Stack.
Public methodDeserializeT
Deserializes the specified json.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetErrorUnitJson
Gets the error unit json.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLinkInjectorT(T)
Links the injector.
Public methodLinkInjectorT(T, IErrorUnitCentral)
Links the injector.
Public methodLog(Exception)
Logs the specified exception.
Public methodLog(String, Exception)
Logs the specified testable error json.
Public methodSerializeT
Serializes the specified object.
Public methodThrowErrorStack
Throws the error stack.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnitTesting
Sets ErrorUnit in Unit testing mode.
Top
Fields
  NameDescription
Public fieldStatic memberCurrentlyUnitTesting
Indicates if we are currently in unit testing mode.
Top
See Also