public AzureIndex(string name, string folder, IIndexPropertyStore propertyStore)
     : this(name.Replace("_", "-").ToLower(), folder, propertyStore, (string)null)
 {
     this.settings = ContentSearchManager.Locator.GetInstance <Sitecore.ContentSearch.Abstractions.ISettings>();
     this.factory  = ContentSearchManager.Locator.GetInstance <Sitecore.Abstractions.IFactory>();
     this.indexes  = new Dictionary <string, ISearchIndex>();
     AddIndex(this);
 }
   public AzureIndex(string name, string folder, IIndexPropertyStore propertyStore)
 : this(name.Replace("_", "-").ToLower(), folder, propertyStore, (string) null)
   {
       this.settings = ContentSearchManager.Locator.GetInstance<Sitecore.ContentSearch.Abstractions.ISettings>();
       this.factory = ContentSearchManager.Locator.GetInstance<Sitecore.Abstractions.IFactory>();
       this.indexes = new Dictionary<string, ISearchIndex>();
       AddIndex(this);
   }
 protected AzureIndex(string name)
 {
     Assert.ArgumentNotNullOrEmpty(name, "name");
     Name          = name.Replace("_", "-").ToLower();
     this.settings = ContentSearchManager.Locator.GetInstance <Sitecore.ContentSearch.Abstractions.ISettings>();
     this.factory  = ContentSearchManager.Locator.GetInstance <Sitecore.Abstractions.IFactory>();
     this.indexes  = new Dictionary <string, ISearchIndex>();
     AddIndex(this);
 }
 protected AzureIndex(string name)
 {
     Assert.ArgumentNotNullOrEmpty(name, "name");
     Name = name.Replace("_", "-").ToLower();
     this.settings = ContentSearchManager.Locator.GetInstance<Sitecore.ContentSearch.Abstractions.ISettings>();
     this.factory = ContentSearchManager.Locator.GetInstance<Sitecore.Abstractions.IFactory>();
     this.indexes = new Dictionary<string, ISearchIndex>();
     AddIndex(this);
 }
 public AzureIndex(string name, string folder, IIndexPropertyStore propertyStore, string group)
 {
     Assert.ArgumentNotNullOrEmpty(name, "name");
     Assert.ArgumentNotNullOrEmpty(folder, "folder");
     Assert.ArgumentNotNull((object)propertyStore, "propertyStore");
     Name = name.Replace("_", "-").ToLower();
     //FolderName = folder;
     this.PropertyStore = propertyStore;
     this.settings      = ContentSearchManager.Locator.GetInstance <Sitecore.ContentSearch.Abstractions.ISettings>();
     this.factory       = ContentSearchManager.Locator.GetInstance <Sitecore.Abstractions.IFactory>();
     this.indexes       = new Dictionary <string, ISearchIndex>();
     AddIndex(this);
 }
 public AzureIndex(string name, IIndexPropertyStore propertyStore)
 {
     Assert.ArgumentNotNullOrEmpty(name, "name");
     Assert.ArgumentNotNull((object)propertyStore, "propertyStore");
     Name = name.Replace("_", "-").ToLower();
     this.PropertyStore = propertyStore;
     this.settings = ContentSearchManager.Locator.GetInstance<Sitecore.ContentSearch.Abstractions.ISettings>();
     this.factory = ContentSearchManager.Locator.GetInstance<Sitecore.Abstractions.IFactory>();
     this.indexes = new Dictionary<string, ISearchIndex>();
     this.Summary = new AzureIndexSummary(this);
     this.Schema = new AzureIndexSchema(this);
     AddIndex(this);
 }