public CallDataValidation() { _log = LogManager.GetLogger(typeof(CallDataValidation)); _validationErrMsgs = new List <string>(); _xsdValidator = new CallDataValidator(); _queueInsert = new QueueProcess(); }
/// <summary> /// To destroy the objects by implementing IDisposable interface method /// </summary> public void Dispose() { if (_validationErrMsgs != null) { _validationErrMsgs.Clear(); } if (_validationErrMsgs != null) { InitailContext._appXsd.Clear(); } _validationErrMsgs = null; InitailContext._dataConfigSetting = null; _log = null; InitailContext._appXsd = null; _xsdValidator = null; _queueInsert = null; }