diff --git a/src/Skybrud.Umbraco.GridData/Models/GridControl.cs b/src/Skybrud.Umbraco.GridData/Models/GridControl.cs index 88b333a..61c2383 100644 --- a/src/Skybrud.Umbraco.GridData/Models/GridControl.cs +++ b/src/Skybrud.Umbraco.GridData/Models/GridControl.cs @@ -94,7 +94,7 @@ internal GridControl(GridControl control) : base(control.JObject) { #region Member methods /// - /// Gets the value of the control casted to the type of . + /// Returns the value of the control casted to the type of . /// /// The type of the value to be returned. public T? GetValue() where T : IGridControlValue { diff --git a/src/Skybrud.Umbraco.GridData/Models/GridDataModel.cs b/src/Skybrud.Umbraco.GridData/Models/GridDataModel.cs index 005014f..4d399fe 100644 --- a/src/Skybrud.Umbraco.GridData/Models/GridDataModel.cs +++ b/src/Skybrud.Umbraco.GridData/Models/GridDataModel.cs @@ -93,7 +93,7 @@ public bool IsValid { #region Member methods /// - /// Gets an array of all nested controls. + /// Returns a list of all nested controls. /// public IReadOnlyList GetAllControls() { return ( @@ -106,7 +106,7 @@ select control } /// - /// Gets an array of all nested controls with the specified editor . + /// Returns a list of all nested controls with the specified editor . /// /// The editor alias of controls to be returned. public IReadOnlyList GetAllControls(string alias) { @@ -114,7 +114,7 @@ public IReadOnlyList GetAllControls(string alias) { } /// - /// Gets an array of all nested controls matching the specified . + /// Returns a list of all nested controls matching the specified . /// /// The predicate (callback function) used for comparison. public IReadOnlyList GetAllControls(Func predicate) { @@ -138,7 +138,7 @@ public void WriteSearchableText(GridContext context, TextWriter writer) { } /// - /// Gets a textual representation of the grid model - eg. to be used in Examine. + /// Returns a textual representation of the grid model - eg. to be used in Examine. /// /// The current grid context. /// An instance of representing the value of the element. @@ -154,14 +154,14 @@ public string GetSearchableText(GridContext context) { #region Static methods /// - /// Gets an empty (and invalid) model. This method can be used to get a fallback value for when an actual Grid model isn't available. + /// Returns an empty (and invalid) model. This method can be used to get a fallback value for when an actual Grid model isn't available. /// public static GridDataModel GetEmptyModel() { return new GridDataModel(null, null, null, null); } /// - /// Gets an empty (and invalid) model. This method can be used to get a fallback value for when an actual Grid model isn't available. + /// Returns an empty (and invalid) model. This method can be used to get a fallback value for when an actual Grid model isn't available. /// /// An instance of representing the owner holding the grid value. /// An instance of representing the property holding the grid value. diff --git a/src/Skybrud.Umbraco.GridData/Models/GridEditor.cs b/src/Skybrud.Umbraco.GridData/Models/GridEditor.cs index 821ca6e..62fc762 100644 --- a/src/Skybrud.Umbraco.GridData/Models/GridEditor.cs +++ b/src/Skybrud.Umbraco.GridData/Models/GridEditor.cs @@ -94,7 +94,7 @@ public GridEditor(GridEditor editor) : base(editor.JObject) { #region Member methods /// - /// Gets the config of the editor casted to the type of . + /// Returns the config of the editor casted to the type of . /// /// The type of the config to be returned. public T? GetConfig() where T : IGridEditorConfig { diff --git a/src/Skybrud.Umbraco.GridData/Models/GridRow.cs b/src/Skybrud.Umbraco.GridData/Models/GridRow.cs index a38a5bb..be5044a 100644 --- a/src/Skybrud.Umbraco.GridData/Models/GridRow.cs +++ b/src/Skybrud.Umbraco.GridData/Models/GridRow.cs @@ -109,7 +109,7 @@ public GridRow(JObject json, GridSection section, IGridFactory factory) : base(j #region Member methods /// - /// Gets an array of all nested controls. + /// Returns a list of all nested controls. /// public IReadOnlyList GetAllControls() { return ( @@ -120,7 +120,7 @@ select control } /// - /// Gets an array of all nested controls with the specified editor . + /// Returns a list of all nested controls with the specified editor . /// /// The editor alias of controls to be returned. public IReadOnlyList GetAllControls(string alias) { @@ -128,7 +128,7 @@ public IReadOnlyList GetAllControls(string alias) { } /// - /// Gets an array of all nested controls matching the specified . + /// Returns a list of all nested controls matching the specified . /// /// The predicate (callback function) used for comparison. public IReadOnlyList GetAllControls(Func predicate) { diff --git a/src/Skybrud.Umbraco.GridData/Models/GridSection.cs b/src/Skybrud.Umbraco.GridData/Models/GridSection.cs index c1f3059..6473930 100644 --- a/src/Skybrud.Umbraco.GridData/Models/GridSection.cs +++ b/src/Skybrud.Umbraco.GridData/Models/GridSection.cs @@ -90,7 +90,7 @@ public void WriteSearchableText(GridContext context, TextWriter writer) { } /// - /// Gets a textual representation of the section - eg. to be used in Examine. + /// Returns a textual representation of the section - eg. to be used in Examine. /// /// The current grid context. /// An instance of representing the value of the element.