private MessageData GetMessageDataObject( MessagePropetiesRules messagePropetiesRules = MessagePropetiesRules.None, SuperPropertiesRules superPropertiesRules = SuperPropertiesRules.All) { return(new MessageData( SpecialPropsBindings, DistinctIdPropsBindings, messagePropetiesRules, superPropertiesRules)); }
public MessageData( IDictionary <string, string> specialPropsBindings, IDictionary <string, string> distinctIdPropsBindings, MessagePropetiesRules messagePropetiesRules, SuperPropertiesRules superPropertiesRules, MixpanelConfig config = null) { _specialPropsBindings = specialPropsBindings ?? new Dictionary <string, string>(); _distinctIdPropsBindings = distinctIdPropsBindings ?? new Dictionary <string, string>(); _messagePropetiesRules = messagePropetiesRules; _superPropertiesRules = superPropertiesRules; _valueParser = new ValueParser(); _nameFormatter = new PropertyNameFormatter(config); _propertiesDigger = new PropertiesDigger(); SpecialProps = new Dictionary <string, object>(); Props = new Dictionary <string, object>(); }
public MessageData( IDictionary<string, string> specialPropsBindings, IDictionary<string, string> distinctIdPropsBindings, MessagePropetiesRules messagePropetiesRules, SuperPropertiesRules superPropertiesRules, MixpanelConfig config = null) { _specialPropsBindings = specialPropsBindings ?? new Dictionary<string, string>(); _distinctIdPropsBindings = distinctIdPropsBindings ?? new Dictionary<string, string>(); _messagePropetiesRules = messagePropetiesRules; _superPropertiesRules = superPropertiesRules; _valueParser = new ValueParser(); _nameFormatter = new PropertyNameFormatter(config); _propertiesDigger = new PropertiesDigger(); SpecialProps = new Dictionary<string, object>(); Props = new Dictionary<string, object>(); }
private MessageData GetMessageDataObject( MessagePropetiesRules messagePropetiesRules = MessagePropetiesRules.None, SuperPropertiesRules superPropertiesRules = SuperPropertiesRules.All) { return new MessageData( SpecialPropsBindings, DistinctIdPropsBindings, messagePropetiesRules, superPropertiesRules); }