11using System ;
2- using System . Linq ;
32using Microsoft . Extensions . Configuration ;
43using Microsoft . Extensions . DependencyInjection ;
54using Microsoft . Extensions . Options ;
65using MigrationTools . Clients ;
7- using MigrationTools . _EngineV1 . Containers ;
8- using MigrationTools . EndpointEnrichers ;
96using MigrationTools . Endpoints ;
107using MigrationTools . FieldMaps . AzureDevops . ObjectModel ;
11- using MigrationTools . Options ;
128using MigrationTools . Processors ;
139using MigrationTools . Tools ;
14- using Serilog ;
1510
1611namespace MigrationTools
1712{
@@ -30,7 +25,7 @@ public static void AddMigrationToolServicesForClientTfs_Tools(this IServiceColle
3025 context . AddSingleton < TfsNodeStructureTool > ( ) . AddMigrationToolsOptions < TfsNodeStructureToolOptions , TfsNodeStructureToolOptionsValidator > ( configuration ) ;
3126 context . AddSingleton < TfsRevisionManagerTool > ( ) . AddMigrationToolsOptions < TfsRevisionManagerToolOptions > ( configuration ) ;
3227 context . AddSingleton < TfsTeamSettingsTool > ( ) . AddMigrationToolsOptions < TfsTeamSettingsToolOptions > ( configuration ) ;
33- context . AddSingleton < TfsChangeSetMappingTool > ( ) . AddMigrationToolsOptions < TfsChangeSetMappingToolOptions > ( configuration ) ;
28+ context . AddSingleton < TfsChangeSetMappingTool > ( ) . AddMigrationToolsOptions < TfsChangeSetMappingToolOptions > ( configuration ) ;
3429 }
3530
3631 public static void AddMigrationToolServicesForClientTfs_Processors ( this IServiceCollection context )
@@ -72,19 +67,20 @@ public static void AddMigrationToolServicesForClientAzureDevOpsObjectModel(this
7267 public static void AddMigrationToolServicesForClientLegacyAzureDevOpsObjectModel ( this IServiceCollection context )
7368 {
7469 // Field Mapps
75- context . AddTransient < FieldSkipMap > ( ) ;
76- context . AddTransient < FieldLiteralMap > ( ) ;
77- context . AddTransient < FieldMergeMap > ( ) ;
78- context . AddTransient < FieldToFieldMap > ( ) ;
79- context . AddTransient < FieldToFieldMultiMap > ( ) ;
80- context . AddTransient < FieldToTagFieldMap > ( ) ;
81- context . AddTransient < FieldValuetoTagMap > ( ) ;
82- context . AddTransient < FieldToFieldMap > ( ) ;
83- context . AddTransient < FieldValueMap > ( ) ;
84- context . AddTransient < MultiValueConditionalMap > ( ) ;
85- context . AddTransient < RegexFieldMap > ( ) ;
86- context . AddTransient < TreeToTagFieldMap > ( ) ;
87-
70+ context . AddTransient < FieldSkipMap > ( ) ;
71+ context . AddTransient < FieldLiteralMap > ( ) ;
72+ context . AddTransient < FieldMergeMap > ( ) ;
73+ context . AddTransient < FieldToFieldMap > ( ) ;
74+ context . AddTransient < FieldToFieldMultiMap > ( ) ;
75+ context . AddTransient < FieldToTagFieldMap > ( ) ;
76+ context . AddTransient < FieldValuetoTagMap > ( ) ;
77+ context . AddTransient < FieldToFieldMap > ( ) ;
78+ context . AddTransient < FieldValueMap > ( ) ;
79+ context . AddTransient < MultiValueConditionalMap > ( ) ;
80+ context . AddTransient < RegexFieldMap > ( ) ;
81+ context . AddTransient < TreeToTagFieldMap > ( ) ;
82+ context . AddTransient < FieldCalculationMap > ( ) ;
83+
8884 // Core
8985 context . AddTransient < IMigrationClient , TfsTeamProjectEndpoint > ( ) ;
9086 context . AddTransient < IWorkItemMigrationClient , TfsWorkItemMigrationClient > ( ) ;
0 commit comments