// collection received from the frontend public void BuildSystem(ISystemBuilder systemBuilder, NameValueCollection collection) { systemBuilder.AddDrive(collection["Drive"]); systemBuilder.AddMemory(collection["RAM"]); systemBuilder.AddMouse(collection["Mouse"]); systemBuilder.AddKeyboard(collection["Keyboard"]); systemBuilder.AddTouchScreen(collection["TouchScreen"]); }
public void BuildSystem(ISystemBuilder systemBuilder, IDictionary collection) { systemBuilder.AddDrive(collection["Drive"].ToString()); systemBuilder.AddMemory(collection["Memory"].ToString()); systemBuilder.AddMouse(collection["Mouse"].ToString()); systemBuilder.AddKeyBoard(collection["KeyBoard"].ToString()); systemBuilder.AddTouchScreen(collection["TouchScreen"].ToString()); systemBuilder.AddTouchScreen(collection["Processor"].ToString()); }