public void ReadSerializedFile(string filePath, string fileName)
        {
            SerializedFile file = new SerializedFile(this, filePath, fileName);

            file.Load(filePath);
            AddSerializedFile(file);
        }
        public void LoadSerializedFile(string filePath, string fileName, TransferInstructionFlags flags)
        {
            SerializedFile file = new SerializedFile(this, filePath, fileName, flags);

            file.Load(filePath, OnRequestDependency);
            AddSerializedFile(file);
        }
        public void LoadSerializedFile(string filePath, string fileName)
        {
            SerializedFile file = new SerializedFile(this, filePath, fileName);

            file.Load(filePath, OnRequestDependency);
            AddSerializedFile(file);
        }
        internal void LoadSerializedFile(string fileName, string filePath)
        {
            SerializedFile file = new SerializedFile(this, fileName, filePath);

            file.Load(filePath, OnRequestDependency);
            AddSerializedFile(file);
        }
        public void LoadSerializedFile(string filePath)
        {
            SerializedFile.Parameters pars = new SerializedFile.Parameters()
            {
                FileCollection     = this,
                AssemblyManager    = AssemblyManager,
                FilePath           = filePath,
                Name               = Path.GetFileName(filePath),
                DependencyCallback = OnRequestDependency,
            };
            SerializedFile file = SerializedFile.Load(pars);

            AddSerializedFile(file);
        }
        internal void ReadSerializedFile(Stream stream, string filePath, string fileName, TransferInstructionFlags flags)
        {
            SerializedFile.Parameters pars = new SerializedFile.Parameters()
            {
                FileCollection     = this,
                AssemblyManager    = AssemblyManager,
                FilePath           = filePath,
                Name               = fileName,
                DependencyCallback = OnRequestDependency,
                Flags              = flags,
            };
            SerializedFile file = SerializedFile.Load(pars);

            AddSerializedFile(file);
        }