示例#1
0
        public void SendTrackingData(TrackingData data)
        {
            try
            {
                Card card = new Card(data.Name, data.Comment)
                {
                    Date   = data.Date,
                    Fields = data.Fields,
                    Tags   = data.Tags
                };

                notebookManager.AddCard(card);
            }
            catch (Exception e)
            {
                InformationDispatcher.Default.Dispatch(e, context);
            }

            //ExceptionUtils.LogExceptions(() => notebookManager.AddCard(card), context);
        }