Esempio n. 1
0
        public void GetParamID(Action<string> callback)
        {
            Debug.Assert(callback != null);

            DetailsContext context = new DetailsContext();
            context.RegisterDetailsParam(UserIDs, CurrentDate, EventIDs, EventIDRanges, PcID,
                c =>
                {
                    Debug.WriteLine("{0:HH:mm:ss.fff}>GetParamID", DateTime.Now);
                    if (ProcessError(c))
                    {
                        callback(null);
                        return;
                    }

                    callback(c.Value);

                }, null);
        }