| File: ProviderServices\Filter\FilterPreprocessingOptions.cs | |
| Project: ..\..\..\src\Libraries\Microsoft.Extensions.VectorData.Abstractions\Microsoft.Extensions.VectorData.Abstractions.csproj (Microsoft.Extensions.VectorData.Abstractions) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using Microsoft.Shared.DiagnosticIds; namespace Microsoft.Extensions.VectorData.ProviderServices.Filter; /// <summary> /// Options for filter expression preprocessing. /// This is an internal support type meant for use by providers only and not by applications. /// </summary> [Experimental(DiagnosticIds.Experiments.VectorDataProviderServices, UrlFormat = DiagnosticIds.UrlFormat)] public class FilterPreprocessingOptions { /// <summary> /// Gets a value indicating whether the provider supports parameterization. /// </summary> /// <remarks> /// If <see langword="false"/>, the visitor will inline captured variables and constant member accesses as simple constant nodes. /// If <see langword="true"/>, these will instead be replaced with <see cref="QueryParameterExpression"/> nodes. /// </remarks> public bool SupportsParameterization { get; init; } }