From 828be405e11dd8bc7f8a3692d2c74517734f67a5 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 30 Aug 2020 22:53:19 -0400 Subject: use inheritdoc --- src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs | 34 ++++------------------ 1 file changed, 6 insertions(+), 28 deletions(-) (limited to 'src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs') diff --git a/src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs b/src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs index 916c215d..5a4ea742 100644 --- a/src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs +++ b/src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs @@ -32,11 +32,7 @@ namespace StardewModdingAPI.Framework.ModHelpers this.Reflector = reflector; } - /// Get an instance field. - /// The field type. - /// The object which has the field. - /// The field name. - /// Whether to throw an exception if the field is not found. + /// public IReflectedField GetField(object obj, string name, bool required = true) { return this.AssertAccessAllowed( @@ -44,11 +40,7 @@ namespace StardewModdingAPI.Framework.ModHelpers ); } - /// Get a static field. - /// The field type. - /// The type which has the field. - /// The field name. - /// Whether to throw an exception if the field is not found. + /// public IReflectedField GetField(Type type, string name, bool required = true) { return this.AssertAccessAllowed( @@ -56,11 +48,7 @@ namespace StardewModdingAPI.Framework.ModHelpers ); } - /// Get an instance property. - /// The property type. - /// The object which has the property. - /// The property name. - /// Whether to throw an exception if the property is not found. + /// public IReflectedProperty GetProperty(object obj, string name, bool required = true) { return this.AssertAccessAllowed( @@ -68,11 +56,7 @@ namespace StardewModdingAPI.Framework.ModHelpers ); } - /// Get a static property. - /// The property type. - /// The type which has the property. - /// The property name. - /// Whether to throw an exception if the property is not found. + /// public IReflectedProperty GetProperty(Type type, string name, bool required = true) { return this.AssertAccessAllowed( @@ -80,10 +64,7 @@ namespace StardewModdingAPI.Framework.ModHelpers ); } - /// Get an instance method. - /// The object which has the method. - /// The field name. - /// Whether to throw an exception if the field is not found. + /// public IReflectedMethod GetMethod(object obj, string name, bool required = true) { return this.AssertAccessAllowed( @@ -91,10 +72,7 @@ namespace StardewModdingAPI.Framework.ModHelpers ); } - /// Get a static method. - /// The type which has the method. - /// The field name. - /// Whether to throw an exception if the field is not found. + /// public IReflectedMethod GetMethod(Type type, string name, bool required = true) { return this.AssertAccessAllowed( -- cgit