/// <summary> /// Creates an instance of <see cref="T:Microsoft.Azure.NotificationHubs.GcmRegistrationDescription"/> class from <see cref="T:Microsoft.Azure.NotificationHubs.FcmRegistrationDescription"/> object. /// </summary> /// <param name="fcmRegistration">FcmRegistrationDescription object to create GcmRegistrationDescription from.</param> public GcmRegistrationDescription(FcmRegistrationDescription fcmRegistration) : base(fcmRegistration) { this.GcmRegistrationId = fcmRegistration.FcmRegistrationId; }
/// <summary> /// Creates instance of <see cref="T:Microsoft.Azure.NotificationHubs.FcmRegistrationDescription"/> class by copying fields from the given instance /// </summary> /// <param name="sourceRegistration">Another <see cref="T:Microsoft.Azure.NotificationHubs.FcmRegistrationDescription"/> instance fields values are copyed from</param> public FcmRegistrationDescription(FcmRegistrationDescription sourceRegistration) : base(sourceRegistration) { this.FcmRegistrationId = sourceRegistration.FcmRegistrationId; }