Made internal

pull/38/head
David Hall 2019-01-29 14:49:25 -07:00
parent 515bedc299
commit 971a8247ca
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ namespace Vanara.Windows.Shell
/// <summary>An implementation of <see cref="IClassFactory"/> to be used with <see cref="ComObject"/> derivatives.</summary>
/// <seealso cref="Vanara.PInvoke.Ole32.IClassFactory"/>
/// <seealso cref="System.IDisposable"/>
public class ComClassFactory : IClassFactory, IDisposable
internal class ComClassFactory : IClassFactory, IDisposable
{
private readonly ComObject comObj;
private uint registrationId;
@ -100,7 +100,7 @@ namespace Vanara.Windows.Shell
}
/// <inheritdoc/>
void IDisposable.Dispose()
public void Dispose()
{
if (registrationId == 0) return;
CoRevokeClassObject(registrationId);