src/Microsoft.OpenApi.OData.Reader/Capabilities/CountRestrictions.cs
/// <summary>
/// Test the input navigation property which do not allow /$count segments.
/// </summary>
/// <param name="navigationPropertyPath">The input navigation property path.</param>
/// <returns>True/False.</returns>
Test the input navigation property which do not allow /$count segments.
Test the input navigation property which do not allow / $count segments .
public bool IsNonCountableNavigationProperty(string navigationPropertyPath)
        {
            return NonCountableNavigationProperties != null ?
                NonCountableNavigationProperties.Any(a => a == navigationPropertyPath) :
                false;
        }
public bool IsNonCountableNavigationProperty ( string navigationPropertyPath ) { return NonCountableNavigationProperties != null ? NonCountableNavigationProperties . Any ( a => a == navigationPropertyPath ) : false ; }
Test the input navigation property which do not allow /$count segments.
Test the input navigation property which do not allow / $count segments .
None
navigationPropertyPath
string
The input navigation property path.
The input navigation property path .