public async Task SetInputs(string[] designTimeInputs, string[] sharedDesignTimeInputs) { designTimeInputs = designTimeInputs ?? Array.Empty <string>(); sharedDesignTimeInputs = sharedDesignTimeInputs ?? Array.Empty <string>(); await base.ApplyAsync(new DesignTimeInputsDelta { AddedItems = ImmutableArray.CreateRange <string>(designTimeInputs), AddedSharedItems = ImmutableArray.CreateRange <string>(sharedDesignTimeInputs) }); DeletedItems.Clear(); DirtyItems.Clear(); CompiledItems.Clear(); }
private void ClearChanges() { NewItems.Clear(); DirtyItems.Clear(); DeletedItems.Clear(); }