Skip to content

Commit 60f6a2a

Browse files
committed
XML documentation
1 parent 074e973 commit 60f6a2a

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/Skybrud.ImagePicker/Extensions/PublishedContentExtensions.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ namespace Skybrud.ImagePicker.Extensions {
88
/// Various extension methods for <see cref="IPublishedContent"/> and the image picker.
99
/// </summary>
1010
public static class PublishedContentExtensions {
11-
11+
1212
/// <summary>
1313
/// Gets the first item from an <see cref="ImagePickerList"/> model from the property with the specified
14-
/// <code>propertyAlias</code>. If property isn't an image picker (or the list is empty), an empty item will be
14+
/// <paramref name="propertyAlias"/>. If property isn't an image picker (or the list is empty), an empty item will be
1515
/// returned instead.
1616
/// </summary>
1717
/// <param name="content">An instance of <see cref="IPublishedContent"/> to read the property from.</param>
@@ -24,7 +24,7 @@ public static ImagePickerItem GetImagePickerItem(this IPublishedContent content,
2424
}
2525

2626
/// <summary>
27-
/// Gets an instance of <see cref="ImagePickerList"/> from the property with the specified <code>propertyAlias</code>.
27+
/// Gets an instance of <see cref="ImagePickerList"/> from the property with the specified <paramref name="propertyAlias"/>.
2828
/// </summary>
2929
/// <param name="content">An instance of <see cref="IPublishedContent"/> to read the property from.</param>
3030
/// <param name="propertyAlias">The alias of the property.</param>

src/Skybrud.ImagePicker/Grid/Values/GridControlImagePickerValue.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class GridControlImagePickerValue : ImagePickerList, IGridControlValue {
2222
#region Constructors
2323

2424
/// <summary>
25-
/// Initializes a enw instance based on the specified <code>control</code> and <code>obj</code>.
25+
/// Initializes a enw instance based on the specified <paramref name="control"/> and <paramref name="obj"/>.
2626
/// </summary>
2727
/// <param name="control">The parent control.</param>
2828
/// <param name="obj">The instance of <see cref="JObject"/> to be parsed.</param>

src/Skybrud.ImagePicker/ImagePickerImage.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ public string GetCropUrl(int? width = null, int? height = null, string propertyA
9191
/// Parses the specified <paramref name="content"/> into an instance of <see cref="ImagePickerImage"/>.
9292
/// </summary>
9393
/// <param name="content">The instance of <see cref="ImagePickerImage"/> to be parsed.</param>
94-
/// <returns>Returns an instance of <see cref="ImagePickerImage"/>, or <code>null</code> if
95-
/// <paramref name="content"/> is <code>null</code>.</returns>
94+
/// <returns>Returns an instance of <see cref="ImagePickerImage"/>, or <c>null</c> if
95+
/// <paramref name="content"/> is <c>null</c>.</returns>
9696
public static ImagePickerImage GetFromContent(IPublishedContent content) {
9797
return content == null ? null : new ImagePickerImage(content);
9898
}
@@ -101,7 +101,7 @@ public static ImagePickerImage GetFromContent(IPublishedContent content) {
101101
/// Gets a reference to the image with the specified <paramref name="imageId"/>.
102102
/// </summary>
103103
/// <param name="imageId">The ID of the image..</param>
104-
/// <returns>Returns an instance of <see cref="ImagePickerImage"/>, or <code>null</code> if the image could not
104+
/// <returns>Returns an instance of <see cref="ImagePickerImage"/>, or <c>null</c> if the image could not
105105
/// be found.</returns>
106106
public static ImagePickerImage GetFromId(int imageId) {
107107
return UmbracoContext.Current == null ? null : GetFromContent(UmbracoContext.Current.MediaCache.GetById(imageId));

src/Skybrud.ImagePicker/ImagePickerItem.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ protected ImagePickerItem(JObject obj) {
124124
/// Parses the specified <see cref="JObject"/> into an instance of <see cref="ImagePickerItem"/>.
125125
/// </summary>
126126
/// <param name="obj">The instance of <see cref="JObject"/> to be parsed.</param>
127-
/// <returns>An instance of <see cref="ImagePickerItem"/>, or <code>null</code> if <code>obj</code> is
128-
/// <code>null</code>.</returns>
127+
/// <returns>An instance of <see cref="ImagePickerItem"/>, or <c>null</c> if <paramref name="obj"/> is
128+
/// <c>null</c>.</returns>
129129
public static ImagePickerItem Parse(JObject obj) {
130130
return obj == null ? null : new ImagePickerItem(obj);
131131
}

src/Skybrud.ImagePicker/ImagePickerList.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ protected ImagePickerList(JObject obj) {
8585
/// Parses the specified <see cref="JObject"/> into an instance of <see cref="ImagePickerList"/>.
8686
/// </summary>
8787
/// <param name="obj">The instance of <see cref="JObject"/> to be parsed.</param>
88-
/// <returns>An instance of <see cref="ImagePickerList"/>, or <code>null</code> if <paramref name="obj"/> is
89-
/// <code>null</code>.</returns>
88+
/// <returns>An instance of <see cref="ImagePickerList"/>, or <c>null</c> if <paramref name="obj"/> is
89+
/// <c>null</c>.</returns>
9090
public static ImagePickerList Parse(JObject obj) {
9191
return obj == null ? null : new ImagePickerList(obj);
9292
}

0 commit comments

Comments
 (0)