BcdbootCommand.Builder

public class BcdbootCommand.Builder :
    CliWrapCommandBase<CommandResult>.BuilderBase<BcdbootCommand, BcdbootCommand.Builder>

1. Constructors

1.1. Builder(string)

public Builder(string executablePath = "bcdboot.exe")
Table 1. Parameters
Name Type Description

executablePath

string

2. Properties

2.1. ArgumentSuffix

protected override string ArgumentSuffix { get; }

2.2. LongArgumentPrefix

protected override string LongArgumentPrefix { get; }

2.3. SingleCharacterArgumentPrefix

protected override string SingleCharacterArgumentPrefix { get; }

3. Methods

3.1. Build()

public override BcdbootCommand Build()

Returns: BcdbootCommand

3.2. BuildInternal(CliWrap.Command)

protected override BcdbootCommand BuildInternal(CliWrap.Command cliCommand)
Table 2. Parameters
Name Type Description

cliCommand

CliWrap.Command

Returns: BcdbootCommand

3.3. ConfigureUefiBoot(string, string)

Configures UEFI boot for a Windows installation.

public BcdbootCommand.Builder ConfigureUefiBoot(string windowsDir, string espDriveLetter)
Table 3. Parameters
Name Type Description

windowsDir

string

Path to the Windows directory (e.g. "W:\Windows").

espDriveLetter

string

Drive letter of the EFI System Partition (e.g. "S:").

Returns: BcdbootCommand.Builder