Skip to content

Commit

Permalink
Resolved #858
Browse files Browse the repository at this point in the history
  • Loading branch information
yekalkan committed Mar 4, 2019
1 parent c649993 commit 58b803e
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 120 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ public class AbpEmailingModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<EmailSettingProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpEmailingModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
.Add<AbpValidationResource>("en")
.AddVirtualJson("/Localization/Resources/AbpValidation");
});

Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<LocalizationSettingProvider>();
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
});
});

Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<TestPermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpAspNetCoreMvcTestModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
Configure<SettingOptions>(options =>
{
options.ValueProviders.Add<TestSettingValueProvider>();
options.DefinitionProviders.Add<TestSettingDefinitionProvider>();
});
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ public override void PreConfigureServices(ServiceConfigurationContext context)

public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<AccountSettingDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpAccountWebModule>("Volo.Abp.Account.Web");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ public class BloggingApplicationContractsModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<BloggingPermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<BloggingApplicationContractsModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ public class DocsAdminApplicationContractsModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<DocsAdminPermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<DocsAdminApplicationContractsModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ public class AbpIdentityApplicationContractsModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<IdentityPermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpIdentityApplicationContractsModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ public class AbpIdentityDomainModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<AbpIdentitySettingDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpIdentityDomainModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ namespace Volo.Abp.Identity
)]
public class AbpIdentityDomainTestModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<IdentityTestPermissionDefinitionProvider>();
});
}

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
SeedTestData(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ namespace Volo.Abp.PermissionManagement
)]
public class AbpPermissionManagementTestBaseModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<TestPermissionDefinitionProvider>();
});
}

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
SeedTestData(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ namespace Volo.Abp.SettingManagement
typeof(AbpSettingManagementDomainModule))]
public class AbpSettingManagementTestBaseModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<TestSettingDefinitionProvider>();
});
}

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
SeedTestData(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ public class AbpTenantManagementApplicationContractsModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<AbpTenantManagementPermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpTenantManagementApplicationContractsModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ public class BookStoreApplicationModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<BookStorePermissionDefinitionProvider>();
});

Configure<AbpAutoMapperOptions>(options =>
{
options.AddProfile<BookStoreApplicationAutoMapperProfile>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
.AddBaseTypes(typeof(AbpValidationResource))
.AddVirtualJson("/Localization/BookStore");
});

Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<BookStoreSettingDefinitionProvider>();
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ public class ProductManagementApplicationContractsModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<ProductManagementPermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<ProductManagementApplicationContractsModule>();
Expand All @@ -32,11 +27,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
.Get<ProductManagementResource>()
.AddVirtualJson("/ProductManagement/Localization/ApplicationContracts");
});

Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<ProductManagementSettingDefinitionProvider>();
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ public class MyProjectNameApplicationContractsModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<MyProjectNamePermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<MyProjectNameApplicationContractsModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
{
options.AddProfile<MyProjectNameApplicationAutoMapperProfile>(validate: true);
});

Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<MyProjectNameSettingDefinitionProvider>();
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ public class MyProjectNameApplicationModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<MyProjectNamePermissionDefinitionProvider>();
});

Configure<AbpAutoMapperOptions>(options =>
{
options.AddProfile<MyProjectNameApplicationAutoMapperProfile>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
.AddBaseTypes(typeof(AbpValidationResource))
.AddVirtualJson("/Localization/MyProjectName");
});

Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<MyProjectNameSettingDefinitionProvider>();
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ public class MyProjectNameApplicationContractsModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<PermissionOptions>(options =>
{
options.DefinitionProviders.Add<MyProjectNamePermissionDefinitionProvider>();
});

Configure<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<MyProjectNameApplicationContractsModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ public override void ConfigureServices(ServiceConfigurationContext context)
{
options.AddProfile<MyProjectNameApplicationAutoMapperProfile>(validate: true);
});

Configure<SettingOptions>(options =>
{
options.DefinitionProviders.Add<MyProjectNameSettingDefinitionProvider>();
});
}
}
}

0 comments on commit 58b803e

Please sign in to comment.