static DllImportCaller() { dllPtrs = new System.Collections.Generic.Dictionary <string, IntPtr>(); methodPtrs = new System.Collections.Generic.Dictionary <string, IntPtr>(); Interop.Init(); var c = new FileSystemClass(); lib = c as IFileSystemIO; }
static FileSystem() { // IF NODO => InteropHelper.RegisterDLLOrExcept("NativeIO.dll", "BD4D0C42-91D1-44C3-86B0-4447FDF82BCE"); InteropHelper.RegisterDLLOrExcept("NativeIO_Mango.dll", "B0E4E41C-BE1D-4BA2-B8CE-7D632EA1CA37"); var fc = new FileSystemClass(); m_fileSystemIo = fc as IFileSystem; }
static DllImportCaller() { dllPtrs = new System.Collections.Generic.Dictionary<string, IntPtr>(); methodPtrs = new System.Collections.Generic.Dictionary<string, IntPtr>(); Interop.Init(); var c = new FileSystemClass(); lib = c as IFileSystemIO; }
public void RecursivelyDoFolderMagicCompletesWithoutException() { var fileSystemClass = new FileSystemClass(); fileSystemClass.RecursivelyDoFolderMagic(@"C:\Folder"); }