internal SocialEventViewModel(string socialMediaName, SocialEvenTypes socialEvenType, int value) { this.socialMediaName = socialMediaName; this.socialEvenType = socialEvenType; this.value = value; DeviceInfo.WriteBaseEventDataViewModel(this.GetType().Name, this); Broker.SocialEventCreated(this); }
/// <summary>Call PROBA Social event</summary> public static void SocialEvent(string socialMediaName, SocialEvenTypes socialEvenType, int value = 0) { _ = new SocialEventViewModel(socialMediaName, socialEvenType, value); }