I need an explanation about the interface IWorkspaceFactoryStatus.
I have an old project that I investigate an error (I described in another discussion).
But what is the difference
1. (in my old project):
IWorkspaceFactoryStatus pWorkspaceFactoryStatus = new ESRI.ArcGIS.DataSourcesGDB.SdeWorkspaceFactoryClass();
2. ESRI example
IWorkspaceFactoryStatus workspaceFactoryStatus = (IWorkspaceFactoryStatus)workspaceToCheck.WorkspaceFactory;
I see that example here (see the link)
I know about Activator and singleton, I need an explanation WHY the number one (1. (in real project)) works.
10.3, Desktop, .Net 3.5
Any help would be highly appreciated.