BoC.Persistence.SitecoreGlass.ContentSearchContextIndexNameProvider.GetIndexName C# (CSharp) Method

GetIndexName() public method

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

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