BoC.Persistence.SitecoreGlass.ContentSearchContextIndexNameProvider.GetIndexName C# (CSharp) Méthode

GetIndexName() public méthode

public GetIndexName ( ) : string
Résultat string
        public string GetIndexName()
        {
            var currentDatabase = Context.Database ?? Context.ContentDatabase;;

            return currentDatabase == null
                        ? string.Empty
                        : string.Format("sitecore_{0}_index", currentDatabase.Name);
        }
ContentSearchContextIndexNameProvider