/// <summary> /// Declares provisioning extension elements for an atom base object. /// </summary> /// <param name="baseObject">the <code>AtomBase</code> object, /// e.g. <code>UserEntry</code> or <code>UserFeed</code></param> public static void AddProvisioningExtensions(AtomBase baseObject) { baseObject.AddExtension(new EmailListElement()); baseObject.AddExtension(new LoginElement()); baseObject.AddExtension(new NameElement()); baseObject.AddExtension(new NicknameElement()); baseObject.AddExtension(new QuotaElement()); }
/// <summary> /// helper to add all MediaRss extensions to a base object /// </summary> /// <param name="baseObject"></param> public static void AddExtension(AtomBase baseObject) { baseObject.AddExtension(new EMail()); baseObject.AddExtension(new Deleted()); baseObject.AddExtension(new IMAddress()); baseObject.AddExtension(new Organization()); baseObject.AddExtension(new PhoneNumber()); baseObject.AddExtension(new PostalAddress()); }
/// <summary> /// helper to add all MediaRss extensions to a base object /// </summary> /// <param name="baseObject"></param> public static void AddExtension(AtomBase baseObject) { baseObject.AddExtension(new GeoRssWhere()); }
/// <summary> /// helper to add all MediaRss extensions to a base object /// </summary> /// <param name="baseObject"></param> public static void AddExtension(AtomBase baseObject) { baseObject.AddExtension(new MediaGroup()); }
/// <summary> /// helper to add all picasa photo extensions to the base object /// </summary> /// <param name="baseObject"></param> public static void AddExtension(AtomBase baseObject) { baseObject.AddExtension(new GPhotoAlbumId()); baseObject.AddExtension(new GPhotoCommentCount()); baseObject.AddExtension(new GPhotoCommentingEnabled()); baseObject.AddExtension(new GPhotoId()); baseObject.AddExtension(new GPhotoMaxPhotosPerAlbum()); baseObject.AddExtension(new GPhotoNickName()); baseObject.AddExtension(new GPhotoQuotaCurrent()); baseObject.AddExtension(new GPhotoQuotaLimit()); baseObject.AddExtension(new GPhotoThumbnail()); baseObject.AddExtension(new GPhotoUser()); baseObject.AddExtension(new GPhotoAccess()); baseObject.AddExtension(new GPhotoBytesUsed()); baseObject.AddExtension(new GPhotoLocation()); baseObject.AddExtension(new GPhotoNumPhotos()); baseObject.AddExtension(new GPhotoNumPhotosRemaining()); baseObject.AddExtension(new GPhotoChecksum()); baseObject.AddExtension(new GPhotoHeight()); baseObject.AddExtension(new GPhotoRotation()); baseObject.AddExtension(new GPhotoSize()); baseObject.AddExtension(new GPhotoTimestamp()); baseObject.AddExtension(new GPhotoWidth()); baseObject.AddExtension(new GPhotoPhotoId()); baseObject.AddExtension(new GPhotoWeight()); baseObject.AddExtension(new GPhotoAlbumDesc()); baseObject.AddExtension(new GPhotoAlbumTitle()); baseObject.AddExtension(new GPhotoSnippet()); baseObject.AddExtension(new GPhotoSnippetType()); baseObject.AddExtension(new GPhotoTruncated()); }
/// <summary> /// Declares mail item extension elements for an atom base object. /// </summary> /// <param name="baseObject">the <code>AtomBase</code> object, /// e.g. <code>MailItemEntry</code> or <code>MailItemFeed</code></param> public static void AddMailItemExtensions(AtomBase baseObject) { baseObject.AddExtension(new LabelElement()); baseObject.AddExtension(new MailItemPropertyElement()); baseObject.AddExtension(new Rfc822MsgElement()); }
/// <summary> /// adds all ExifExtensions to the passed in baseObject /// </summary> /// <param name="baseObject"></param> public static void AddExtension(AtomBase baseObject) { baseObject.AddExtension(new ExifTags()); }