Beispiel #1
0
            protected sealed override bool Perform(BootFile file)
            {
                DataBootTable table = new DataBootTable(file as DataBootFile, mListing);

                if (table.IsValid)
                {
                    Loader results = new Loader(this, mField);

                    table.Load(results.Load);

                    foreach (BootFile result in results.mFiles)
                    {
                        if (!result.IsValid)
                        {
                            continue;
                        }

                        Perform(result);
                    }
                }
                else
                {
                    PerformFile(file);
                }

                return(true);
            }
Beispiel #2
0
            protected override bool Perform(BootFile file)
            {
                DataBootTable table = new DataBootTable(file as DataBootFile, mListing);

                if (!table.IsValid)
                {
                    return(false);
                }

                table.Load(Perform);
                return(true);
            }
Beispiel #3
0
            protected sealed override void PerformFile(BootFile file)
            {
                DataBootTable table = new DataBootTable(file as DataBootFile, mTable);

                if (!table.IsValid)
                {
                    if (file.mPrimary)
                    {
                        BooterLogger.AddTrace(file + ": No " + mTable + " Table");
                    }
                    else
                    {
                        BooterLogger.AddError(file + ": No " + mTable + " Table");
                    }
                    return;
                }

                table.Load(Perform);
            }
Beispiel #4
0
            protected sealed override void PerformFile(BootFile file)
            {
                DataBootTable table = new DataBootTable(file as DataBootFile, mTable);
                if (!table.IsValid)
                {
                    if (file.mPrimary)
                    {
                        BooterLogger.AddTrace(file + ": No " + mTable + " Table");
                    }
                    else
                    {
                        BooterLogger.AddError(file + ": No " + mTable + " Table");
                    }
                    return;
                }

                table.Load(Perform);
            }
Beispiel #5
0
            protected sealed override bool Perform(BootFile file)
            {
                DataBootTable table = new DataBootTable(file as DataBootFile, mListing);
                if (table.IsValid)
                {
                    Loader results = new Loader(this, mField);

                    table.Load(results.Load);

                    foreach (BootFile result in results.mFiles)
                    {
                        if (!result.IsValid) continue;

                        Perform(result);
                    }
                }
                else
                {
                    PerformFile(file);
                }

                return true;
            }
Beispiel #6
0
            protected override bool Perform(BootFile file)
            {
                DataBootTable table = new DataBootTable(file as DataBootFile, mListing);
                if (!table.IsValid) return false;

                table.Load(Perform);
                return true;
            }