public OrganizationIndex(IElasticConfiguration configuration) : base(configuration, Settings.Current.AppScopePrefix + "organizations", 1) { AddType(Organization = new OrganizationIndexType(this)); AddType(Project = new ProjectIndexType(this)); AddType(Token = new TokenIndexType(this)); AddType(User = new UserIndexType(this)); AddType(WebHook = new WebHookIndexType(this)); }
public OrganizationIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "organizations", 1) { _configuration = configuration; AddType(Organization = new OrganizationIndexType(this)); AddType(Project = new ProjectIndexType(this)); AddType(Token = new TokenIndexType(this)); AddType(User = new UserIndexType(this)); AddType(WebHook = new WebHookIndexType(this)); }