Chilas.Algolia.Analytics/AnalyticsClient.cs
/// <summary>
/// Initialises the Analytics client with multiple indices
/// </summary>
/// <param name="indices"></param>
Initialises the Analytics client with multiple indices
Initialises the Analytics client with multiple indices
public void InitAnalytics(IEnumerable<string> indices)
        {
            var indicesString = string.Empty;
            indicesString = indices.Aggregate(indicesString, (current, next) => string.IsNullOrEmpty(current) ? next : $"{current},{next}");
            InitAnalytics(indicesString);
        }
public void InitAnalytics ( IEnumerable < string > indices ) { var indicesString = string . Empty ; indicesString = indices . Aggregate ( indicesString , ( current , next ) => string . IsNullOrEmpty ( current ) ? next : $" { current } , { next } " ) ; InitAnalytics ( indicesString ) ; }
Initialises the Analytics client with multiple indices
Initialises the Analytics client with multiple indices
indices
IEnumerable<string>
None