diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-30 22:53:19 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-30 22:53:19 -0400 |
commit | 828be405e11dd8bc7f8a3692d2c74517734f67a5 (patch) | |
tree | 0a85e065e7b5604b4c1d0a1b24a53a9f85f550e5 /src/SMAPI/Framework/Reflection | |
parent | 3a4606164c6ce8d900077b567dc1142f6aad0f4c (diff) | |
download | SMAPI-828be405e11dd8bc7f8a3692d2c74517734f67a5.tar.gz SMAPI-828be405e11dd8bc7f8a3692d2c74517734f67a5.tar.bz2 SMAPI-828be405e11dd8bc7f8a3692d2c74517734f67a5.zip |
use inheritdoc
Diffstat (limited to 'src/SMAPI/Framework/Reflection')
-rw-r--r-- | src/SMAPI/Framework/Reflection/ReflectedField.cs | 7 | ||||
-rw-r--r-- | src/SMAPI/Framework/Reflection/ReflectedMethod.cs | 9 | ||||
-rw-r--r-- | src/SMAPI/Framework/Reflection/ReflectedProperty.cs | 7 |
3 files changed, 9 insertions, 14 deletions
diff --git a/src/SMAPI/Framework/Reflection/ReflectedField.cs b/src/SMAPI/Framework/Reflection/ReflectedField.cs index d771422c..3c4da4fc 100644 --- a/src/SMAPI/Framework/Reflection/ReflectedField.cs +++ b/src/SMAPI/Framework/Reflection/ReflectedField.cs @@ -23,7 +23,7 @@ namespace StardewModdingAPI.Framework.Reflection /********* ** Accessors *********/ - /// <summary>The reflection metadata.</summary> + /// <inheritdoc /> public FieldInfo FieldInfo { get; } @@ -55,7 +55,7 @@ namespace StardewModdingAPI.Framework.Reflection this.FieldInfo = field; } - /// <summary>Get the field value.</summary> + /// <inheritdoc /> public TValue GetValue() { try @@ -72,8 +72,7 @@ namespace StardewModdingAPI.Framework.Reflection } } - /// <summary>Set the field value.</summary> - //// <param name="value">The value to set.</param> + /// <inheritdoc /> public void SetValue(TValue value) { try diff --git a/src/SMAPI/Framework/Reflection/ReflectedMethod.cs b/src/SMAPI/Framework/Reflection/ReflectedMethod.cs index 82737a7f..26112806 100644 --- a/src/SMAPI/Framework/Reflection/ReflectedMethod.cs +++ b/src/SMAPI/Framework/Reflection/ReflectedMethod.cs @@ -22,7 +22,7 @@ namespace StardewModdingAPI.Framework.Reflection /********* ** Accessors *********/ - /// <summary>The reflection metadata.</summary> + /// <inheritdoc /> public MethodInfo MethodInfo { get; } @@ -54,9 +54,7 @@ namespace StardewModdingAPI.Framework.Reflection this.MethodInfo = method; } - /// <summary>Invoke the method.</summary> - /// <typeparam name="TValue">The return type.</typeparam> - /// <param name="arguments">The method arguments to pass in.</param> + /// <inheritdoc /> public TValue Invoke<TValue>(params object[] arguments) { // invoke method @@ -85,8 +83,7 @@ namespace StardewModdingAPI.Framework.Reflection } } - /// <summary>Invoke the method.</summary> - /// <param name="arguments">The method arguments to pass in.</param> + /// <inheritdoc /> public void Invoke(params object[] arguments) { // invoke method diff --git a/src/SMAPI/Framework/Reflection/ReflectedProperty.cs b/src/SMAPI/Framework/Reflection/ReflectedProperty.cs index 8a10ff9a..42d7bb59 100644 --- a/src/SMAPI/Framework/Reflection/ReflectedProperty.cs +++ b/src/SMAPI/Framework/Reflection/ReflectedProperty.cs @@ -23,7 +23,7 @@ namespace StardewModdingAPI.Framework.Reflection /********* ** Accessors *********/ - /// <summary>The reflection metadata.</summary> + /// <inheritdoc /> public PropertyInfo PropertyInfo { get; } @@ -61,7 +61,7 @@ namespace StardewModdingAPI.Framework.Reflection this.SetMethod = (Action<TValue>)Delegate.CreateDelegate(typeof(Action<TValue>), obj, this.PropertyInfo.SetMethod); } - /// <summary>Get the property value.</summary> + /// <inheritdoc /> public TValue GetValue() { if (this.GetMethod == null) @@ -81,8 +81,7 @@ namespace StardewModdingAPI.Framework.Reflection } } - /// <summary>Set the property value.</summary> - //// <param name="value">The value to set.</param> + /// <inheritdoc /> public void SetValue(TValue value) { if (this.SetMethod == null) |