public BenchmarkShellViewModel(CommandBindingCollection commandBindings, BenchmarkShell shell, GunViewModel gun) : base(commandBindings, shell, gun) { }
public static ShellViewModel CreateShell(CommandBindingCollection commandBindings, IShell shell, GunViewModel gun) { if (shell is BenchmarkShell) { return(new BenchmarkShellViewModel(commandBindings, (BenchmarkShell)shell, gun)); } return(new ShellViewModel(commandBindings, shell, gun)); }