Пример #1
0
        public static BundleFile Read(SmartStream stream, string bundlePath)
        {
            BundleFile bundle = new BundleFile(bundlePath);

            bundle.Read(stream);
            return(bundle);
        }
Пример #2
0
        public static BundleFile Load(string bundlePath)
        {
            BundleFile bundle = new BundleFile(bundlePath);

            bundle.Load();
            return(bundle);
        }
Пример #3
0
        public BundleFile ReadFile(IFileCollection collection, IAssemblyManager manager)
        {
            BundleFile bundle = new BundleFile(collection, this);

            foreach (FileScheme scheme in Schemes)
            {
                bundle.AddFile(scheme, collection, manager);
            }
            return(bundle);
        }