コード例 #1
0
        /// <summary>
        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
        /// </summary>
        public void Dispose()
        {
            IAssemblyLoader al = AssemblyLoader;

            foreach (IMetadataModule module in al.Modules)
            {
                al.Unload(module);
            }

            _instance = null;
        }