Exemple #1
0
 public void AddCodeSnippet(CodeSnippet codeSnippet)
 {
     CodeSnippets.Add(codeSnippet);
     StateHasChanged();
 }
Exemple #2
0
 public void RemoveCodeSnippet(CodeSnippet codeSnippet)
 {
     CodeSnippets.Remove(codeSnippet);
     StateHasChanged();
 }
Exemple #3
0
 private async Task NavigateTo(CodeSnippet codeSnippet)
 {
     await TablerService.ScrollToFragment(codeSnippet.Id.ToString());
 }