private static void Main(string[] args) { Write("Expected Output :"); WriteLine(Environment.NewLine); var inventoryManager = new InventoryManager(); var itemList = inventoryManager.UpdateInventory(InventoryRepository.Items); OutputOperation.OutputInventoryUpdateResults(itemList); WriteLine(Environment.NewLine); Write("Press Enter to continue!"); ReadKey(); }
/// <summary> /// Creates ShaderCode using stage. /// </summary> /// <param name="stage">The stage.</param> public ShaderCode(BindingStage dagStage) { stage = dagStage; immutable = false; input = new InputOperation(this); if (dagStage == BindingStage.PixelShader) { output = new PixelOutputOperation(this); } else { output = new OutputOperation(this); } }