public virtual void TrackError(Exception exception, IDictionary <string, object> properties)
        {
            IDictionary <string, object> allProperties = PropertyMergerHelper.MergeProperties(this.CustomProperties, properties);

            this.TrackErrorInternal(exception, allProperties);
        }
Example #2
0
 // helpers
 private IDictionary <string, string> MergePropertiesToAppCenterFormat(IDictionary <string, object> properties)
 {
     return(PropertyMergerHelper.MergeProperties(properties, this.internalProperties)
            .ToDictionary(kvp => kvp.Key, kvp => kvp.Value?.ToString()));
 }
        public virtual void TrackEvent(string eventName, IDictionary <string, object> properties)
        {
            IDictionary <string, object> allProperties = PropertyMergerHelper.MergeProperties(this.CustomProperties, properties);

            this.TrackEventInternal(eventName, allProperties);
        }