Skip to content

Commit 3d85c85

Browse files
authored
Update UploadDocuments to be virtual (#42)
Allows developers the ability to trigger various actions when an upload is made to Azure.
1 parent 12002d5 commit 3d85c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Kentico.Xperience.AzureSearch/Indexing/BaseAzureSearchIndexingStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace Kentico.Xperience.AzureSearch.Indexing;
4242
public IList<SearchField> GetSearchFields() => fieldBuilder.Build(typeof(TSearchModel));
4343

4444
/// <inheritdoc />
45-
public async Task<int> UploadDocuments(IEnumerable<IAzureSearchModel> models, SearchClient searchClient)
45+
public virtual async Task<int> UploadDocuments(IEnumerable<IAzureSearchModel> models, SearchClient searchClient)
4646
{
4747
var batch = new IndexDocumentsBatch<TSearchModel>();
4848

0 commit comments

Comments
 (0)