public void ReadEmbeddedResourceFile() { var asm = ReflectionTool.LoadAssembly(typeof(ChartBase).Assembly.FullName); var swf = asm.GetEmbeddedResourceFile("line.swf"); Assert.IsNotNull(swf); }
public void ReadFusionChartFile() { var asm = ReflectionTool.LoadAssembly(typeof(ChartBase).Assembly.FullName); Assert.IsNotNull(asm); foreach (var name in asm.GetManifestResourceNames()) { Console.WriteLine("ResourceName = " + name); var fileStream = asm.GetManifestResourceStream(name); Assert.IsNotNull(fileStream, "ResourceName=" + name); } }