You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FluentValidation.AspNetCore/FluentValidationMvcConfiguration.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ public bool LocalizationEnabled {
111
111
/// <param name="filter">Optional filter that allows certain types to be skipped from registration.</param>
112
112
/// <param name="lifetime">The service lifetime that should be used for the validator registration. Defaults to Scoped</param>
113
113
/// <param name="includeInternalTypes">Include internal validators. The default is false.</param>
114
-
// [Obsolete("RegisterValidatorsFromAssemblyContaining is deprecated. Call services.AddValidatorsFromAssemblyContaining<T> instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
114
+
[Obsolete("RegisterValidatorsFromAssemblyContaining is deprecated. Call services.AddValidatorsFromAssemblyContaining<T> instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
@@ -123,7 +123,7 @@ public FluentValidationMvcConfiguration RegisterValidatorsFromAssemblyContaining
123
123
/// <param name="filter">Optional filter that allows certain types to be skipped from registration.</param>
124
124
/// <param name="lifetime">The service lifetime that should be used for the validator registration. Defaults to Scoped</param>
125
125
/// <param name="includeInternalTypes">Include internal validators. The default is false.</param>
126
-
// [Obsolete("RegisterValidatorsFromAssemblyContaining is deprecated. Call services.AddValidatorsFromAssemblyContaining instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
126
+
[Obsolete("RegisterValidatorsFromAssemblyContaining is deprecated. Call services.AddValidatorsFromAssemblyContaining instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
@@ -135,7 +135,7 @@ public FluentValidationMvcConfiguration RegisterValidatorsFromAssemblyContaining
135
135
/// <param name="filter">Optional filter that allows certain types to be skipped from registration.</param>
136
136
/// <param name="lifetime">The service lifetime that should be used for the validator registration. Defaults to Scoped</param>
137
137
/// <param name="includeInternalTypes">Include internal validators. The default is false.</param>
138
-
// [Obsolete("RegisterValidatorsFromAssembly is deprecated. Call services.AddValidatorsFromAssembly instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
138
+
[Obsolete("RegisterValidatorsFromAssembly is deprecated. Call services.AddValidatorsFromAssembly instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
@@ -152,7 +152,7 @@ public FluentValidationMvcConfiguration RegisterValidatorsFromAssembly(Assembly
152
152
/// <param name="filter">Optional filter that allows certain types to be skipped from registration.</param>
153
153
/// <param name="lifetime">The service lifetime that should be used for the validator registration. Defaults to Scoped</param>
154
154
/// <param name="includeInternalTypes">Include internal validators. The default is false.</param>
155
-
// [Obsolete("RegisterValidatorsFromAssemblies is deprecated. Call services.AddValidatorsFromAssemblies instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
155
+
[Obsolete("RegisterValidatorsFromAssemblies is deprecated. Call services.AddValidatorsFromAssemblies instead, which has the same effect. See https://github.com/FluentValidation/FluentValidation/issues/1963")]
0 commit comments