diff options
author | Dan Volchek <volchek2@illinois.edu> | 2018-04-19 01:35:15 -0500 |
---|---|---|
committer | Dan Volchek <volchek2@illinois.edu> | 2018-04-19 01:35:15 -0500 |
commit | f451e172e2d2cf1959c86fdb24c708ca5b1924f7 (patch) | |
tree | 5d3f1893c7c83cef67e524430e2a7777a812bcf9 /src | |
parent | 43487a40e391978221df00ba86f2b7628ed8d343 (diff) | |
download | SMAPI-f451e172e2d2cf1959c86fdb24c708ca5b1924f7.tar.gz SMAPI-f451e172e2d2cf1959c86fdb24c708ca5b1924f7.tar.bz2 SMAPI-f451e172e2d2cf1959c86fdb24c708ca5b1924f7.zip |
update documentation format and document field
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs index 453b8e32..803ae7f6 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs @@ -16,6 +16,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player /// <summary>Provides methods for searching and constructing items.</summary> private readonly ItemRepository Items = new ItemRepository(); + /// <summary>All possible item types along with Name.</summary> private readonly string[] ItemTypeAndName = Enum.GetNames(typeof(ItemType)).Union(new string[] { "Name" }).ToArray(); /********* @@ -75,9 +76,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player ** Private methods *********/ - /// <summary> - /// Finds a matching item by item type and id. - /// </summary> + /// <summary>Finds a matching item by item type and id.</summary> /// <param name="monitor">Writes messages to the console and log file.</param> /// <param name="args">The command arguments.</param> /// <param name="rawType">The raw item type.</param> @@ -101,9 +100,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player } } - /// <summary> - /// Finds a matching item by name. - /// </summary> + /// <summary>Finds a matching item by name.</summary> /// <param name="monitor">Writes messages to the console and log file.</param> /// <param name="args">The command arguments.</param> /// <param name="name">The item name.</param> |