diff options
author | Shockah <me@shockah.pl> | 2022-02-09 20:40:54 +0100 |
---|---|---|
committer | Shockah <me@shockah.pl> | 2022-02-09 20:40:54 +0100 |
commit | 688fccc0246be6756a07933696a235dca8f1a395 (patch) | |
tree | bf22e65262f21b621458341218217fdf0453b242 | |
parent | ee78ab3c3710639ec7eecb3d2edc7f26ff998407 (diff) | |
download | SMAPI-688fccc0246be6756a07933696a235dca8f1a395.tar.gz SMAPI-688fccc0246be6756a07933696a235dca8f1a395.tar.bz2 SMAPI-688fccc0246be6756a07933696a235dca8f1a395.zip |
add missing documentation
-rw-r--r-- | src/SMAPI/Framework/Reflection/InterfaceProxyGlue.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Reflection/InterfaceProxyGlue.cs b/src/SMAPI/Framework/Reflection/InterfaceProxyGlue.cs index 4e027252..8d0d74a7 100644 --- a/src/SMAPI/Framework/Reflection/InterfaceProxyGlue.cs +++ b/src/SMAPI/Framework/Reflection/InterfaceProxyGlue.cs @@ -1,5 +1,6 @@ namespace StardewModdingAPI.Framework.Reflection { + /// <summary>Provides an interface for proxied types to create other proxied types.</summary> public sealed class InterfaceProxyGlue { private readonly InterfaceProxyFactory Factory; @@ -9,6 +10,9 @@ namespace StardewModdingAPI.Framework.Reflection this.Factory = factory; } + /// <summary>Creates a new proxied instance by its type name.</summary> + /// <param name="proxyTypeName">The full name of the proxy type.</param> + /// <param name="toProxy">The target instance to proxy.</param> public object CreateInstanceForProxyTypeName(string proxyTypeName, object toProxy) { var builder = this.Factory.GetBuilderByProxyTypeName(proxyTypeName); |