示例#1
0
        public void LogShare(string shareMethod, string contentName, string contentType, string contentId,
                             Dictionary <string, object> customAttributes = null)
        {
            var answersEvent = new ShareEvent();

            answersEvent.PutMethod(shareMethod);
            answersEvent.PutContentName(contentName);
            answersEvent.PutContentType(contentType);
            answersEvent.PutContentId(contentId);
            answersEvent.PutCustomAttributes(customAttributes);
            Bindings.AnswersKit.Answers.Instance.LogShare(answersEvent);
        }