internal NotificationImagePart ToXmlPart()
        {
            var notificationImagePart = new NotificationImagePart();

            this.PopulateXmlPartFromSource(notificationImagePart);

            return(notificationImagePart);
        }
Example #2
0
        internal NotificationImagePart ToXmlPart()
        {
            var notificationImagePart = new NotificationImagePart {
                Placement = NotificationImagePlacement.Inline
            };

            this.Source?.PopulateXmlPartFromSource(notificationImagePart);

            return(notificationImagePart);
        }
        internal NotificationImagePart ToXmlPart()
        {
            var notificationImagePart = new NotificationImagePart
            {
                Placement =
                    NotificationImagePlacement.AppLogoOverride,
                Crop = this.Crop
            };

            this.Source?.PopulateXmlPartFromSource(notificationImagePart);

            return(notificationImagePart);
        }
 internal void PopulateXmlPartFromSource(NotificationImagePart image)
 {
     image.Source        = this.Source;
     image.Description   = this.Description;
     image.AddImageQuery = this.AddImageQuery;
 }