Beispiel #1
0
    protected static CompareEmbeddingDefinitionsForAllTenants WithTenants(Action <TenantConfigBuilder> callback)
    {
        var builder = new TenantConfigBuilder();

        callback(builder);
        builder.Build();
        return(new CompareEmbeddingDefinitionsForAllTenants(new TenantActionPerformer(tenants, service_providers.Object), get_definitions));
    }
Beispiel #2
0
    protected static PersistEmbeddingDefinitionForAllTenants WithTenants(Action <TenantConfigBuilder> callback)
    {
        var builder = new TenantConfigBuilder();

        callback(builder);
        builder.Build();
        return(new PersistEmbeddingDefinitionForAllTenants(new TenantActionPerformer(tenants, tenant_service_providers.Object), get_definitions, Mock.Of <ILogger>()));
    }