Skip to content

Commit

Permalink
Update copyright notices and project url
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremySkinner committed Feb 20, 2020
1 parent 44f1a8f commit e2ab2ed
Show file tree
Hide file tree
Showing 195 changed files with 2,454 additions and 2,441 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<NoWarn>$(NoWarn);1701;1702;1591</NoWarn>
<!--<TreatWarningsAsErrors>true</TreatWarningsAsErrors>-->
<PackageProjectUrl>https://fluentvalidation.net</PackageProjectUrl>
<Copyright>Copyright (c) Jeremy Skinner 2008-2019</Copyright>
<Copyright>Copyright (c) Jeremy Skinner and contributors 2008-2020</Copyright>
<RepositoryUrl>https://github.com/JeremySkinner/fluentvalidation</RepositoryUrl>
<PackageIconUrl>https://fluentvalidation.net/assets/images/logo/fluent-validation-icon.png</PackageIconUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
//
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System;
Expand All @@ -23,7 +23,7 @@ namespace FluentValidation.AspNetCore {
using Resources;
using Validators;
internal abstract class AbstractComparisonClientValidator<TValidator> : ClientValidatorBase
internal abstract class AbstractComparisonClientValidator<TValidator> : ClientValidatorBase
where TValidator: AbstractComparisonValidator {
protected TValidator AbstractComparisonValidator
Expand Down Expand Up @@ -56,4 +56,4 @@ protected TValidator AbstractComparisonValidator
protected abstract string GetDefaultMessage();
}
}*/
}*/
30 changes: 15 additions & 15 deletions src/FluentValidation.AspNetCore/Adapters/ClientValidatorBase.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
//
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System;
Expand Down Expand Up @@ -43,4 +43,4 @@ public abstract class ClientValidatorBase : IClientModelValidator {
return true;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using Internal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using Internal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/JeremySkinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion

namespace FluentValidation.AspNetCore {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Changes in 7.3:
* Added support for implicat validation of child properties when using the automatic MVC integration
* Added Skip property to the CustomizeValidatorAttribute to opt-out of validating certain properties

Full release notes can be found at https://github.com/JeremySkinner/FluentValidation/blob/master/Changelog.txt
Full release notes can be found at https://github.com/FluentValidation/FluentValidation/blob/master/Changelog.txt
</PackageReleaseNotes>
<!-- Signing is only performed as part of the release build -->
<SignAssembly Condition="'$(AssemblyOriginatorKeyFile)'!=''">True</SignAssembly>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
//
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion

namespace FluentValidation.AspNetCore {
Expand All @@ -25,7 +25,7 @@ internal class FluentValidationBindingMetadataProvider : IBindingMetadataProvide
/// <summary>
/// If we're validating a non-nullable value type then
/// MVC will automatically add a "Required" error message.
/// We prefix these messages with a placeholder, so we can identify and remove them
/// We prefix these messages with a placeholder, so we can identify and remove them
/// during the validation process.
/// <see cref="FluentValidationVisitor"/>
/// <see cref="MvcValidationHelper.RemoveImplicitRequiredErrors"/>
Expand All @@ -39,4 +39,4 @@ internal class FluentValidationBindingMetadataProvider : IBindingMetadataProvide
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion
namespace FluentValidation.AspNetCore {
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion

namespace FluentValidation.AspNetCore {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion

namespace FluentValidation.AspNetCore {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) and contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// The latest version of this file can be found at https://github.com/jeremyskinner/FluentValidation
// The latest version of this file can be found at https://github.com/FluentValidation/FluentValidation
#endregion

namespace FluentValidation.AspNetCore {
Expand Down Expand Up @@ -81,7 +81,7 @@ public static class FluentValidationMvcExtensions {

private static void RegisterServices(IServiceCollection services, FluentValidationMvcConfiguration config) {
services.AddSingleton(config.ValidatorOptions);

if (config.ValidatorFactory != null) {
// Allow user to register their own IValidatorFactory instance, before falling back to try resolving by Type.
var factory = config.ValidatorFactory;
Expand Down

0 comments on commit e2ab2ed

Please sign in to comment.