Example #1
0
        private void ApiQuery(string vKey, string vValue)
        {
            ApiQueryEventArgs args = new ApiQueryEventArgs();

            args.Key   = vKey;
            args.Value = vValue;
            OnApiQueryEvent(args);
        }
Example #2
0
        protected void OnApiQueryEvent(ApiQueryEventArgs e)
        {
            EventHandler <ApiQueryEventArgs> handler = ApiQueryEvent;

            if (handler != null)
            {
                handler(this, e);
            }
        }