/// <summary> /// Creates instance of <see cref="T:Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription"/> class from <see cref="T:Microsoft.Azure.NotificationHubs.FcmTemplateRegistrationDescription"/> object. /// </summary> /// <param name="fcmTemplateRegistration">FcmTemplateRegistrationDescription object to create new GcmTemplateRegistrationDescription from.</param> public GcmTemplateRegistrationDescription(FcmTemplateRegistrationDescription fcmTemplateRegistration) : base(fcmTemplateRegistration) { this.BodyTemplate = fcmTemplateRegistration.BodyTemplate; this.TemplateName = fcmTemplateRegistration.TemplateName; }
/// <summary> /// Creates instance of <see cref="T:Microsoft.Azure.NotificationHubs.FcmTemplateRegistrationDescription"/> class by copying fields from the given instance /// </summary> /// <param name="sourceRegistration">Another <see cref="T:Microsoft.Azure.NotificationHubs.FcmTemplateRegistrationDescription"/> instance fields values are copyed from</param> public FcmTemplateRegistrationDescription(FcmTemplateRegistrationDescription sourceRegistration) : base(sourceRegistration) { this.BodyTemplate = sourceRegistration.BodyTemplate; this.TemplateName = sourceRegistration.TemplateName; }