22 using System.Reflection;
24 namespace Lucene.Net.Support
28 static System.Reflection.Assembly
asm = null;
34 asm = Assembly.Load(
"ICSharpCode.SharpZipLib");
41 if (
asm == null)
throw new System.IO.FileNotFoundException(
"Can not load ICSharpCode.SharpZipLib.dll");
42 return new Deflater(
asm.CreateInstance(
"ICSharpCode.SharpZipLib.Zip.Compression.Deflater"));
47 if (
asm == null)
throw new System.IO.FileNotFoundException(
"Can not load ICSharpCode.SharpZipLib.dll");
48 return new Inflater(
asm.CreateInstance(
"ICSharpCode.SharpZipLib.Zip.Compression.Inflater"));