Exemplo n.º 1
0
        protected void RaiseError(DataEngineType engineType, string message)
        {
            System.Diagnostics.Debug.WriteLine(String.Format("[{0}] {1}", engineType, message));

            if (OnError != null)
            {
                OnError(this, new DataEngineErrorEventArgs()
                {
                    EngineType = engineType,
                    Error      = message
                });
            }
        }
Exemplo n.º 2
0
        protected void RaiseError(DataEngineType engineType, string message)
        {
            System.Diagnostics.Debug.WriteLine(String.Format("[{0}] {1}", engineType, message));

            if (OnError != null)
            {
                OnError(this, new DataEngineErrorEventArgs()
                {
                    EngineType = engineType,
                    Error = message
                });
            }
        }