Skip to content

Commit

Permalink
chore: replace "GSoft" occurrences for "Workleap", when applicable (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
felpel authored Jul 20, 2023
1 parent 3e4f5e9 commit fb1d1d0
Show file tree
Hide file tree
Showing 38 changed files with 106 additions and 106 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# GSoft.ComponentModel.DataAnnotations
# Workleap.ComponentModel.DataAnnotations

Provides multiple new data annotation attributes, such as `[Guid]`, `[NotEmpty]`, `[ValidateProperties]`.

[![nuget](https://img.shields.io/nuget/v/GSoft.ComponentModel.DataAnnotations.svg?logo=nuget)](https://www.nuget.org/packages/GSoft.ComponentModel.DataAnnotations/)
[![build](https://img.shields.io/github/actions/workflow/status/gsoft-inc/gsoft-componentmodel-dataannotations/publish.yml?logo=github)](https://github.com/gsoft-inc/gsoft-componentmodel-dataannotations/actions/workflows/publish.yml)
[![nuget](https://img.shields.io/nuget/v/Workleap.ComponentModel.DataAnnotations.svg?logo=nuget)](https://www.nuget.org/packages/Workleap.ComponentModel.DataAnnotations/)
[![build](https://img.shields.io/github/actions/workflow/status/gsoft-inc/wl-componentmodel-dataannotations/publish.yml?logo=github)](https://github.com/gsoft-inc/wl-componentmodel-dataannotations/actions/workflows/publish.yml)


## Getting started

```
dotnet add package GSoft.ComponentModel.DataAnnotations
dotnet add package Workleap.ComponentModel.DataAnnotations
```

Decorate your properties, fields and method parameters with these new data annotation attributes.
Expand Down Expand Up @@ -38,4 +38,4 @@ The most useful validation attribute here is probably `ValidatePropertiesAttribu

## License

Copyright © 2022, GSoft Group Inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.
Copyright © 2022, Workleap. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Security Policy

If you'd like to report a vulnerability, please open a [GitHub issue](https://github.com/gsoft-inc/gsoft-componentmodel-dataannotations/issues).
If you'd like to report a vulnerability, please open a [GitHub issue](https://github.com/gsoft-inc/wl-componentmodel-dataannotations/issues).
8 changes: 4 additions & 4 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project>
<PropertyGroup>
<Copyright>Copyright © GSoft Group Inc. $([System.DateTime]::UtcNow.ToString(yyyy))</Copyright>
<Authors>GSoft Group Inc.</Authors>
<Owners>GSoft Group Inc.</Owners>
<PackageProjectUrl>https://github.com/gsoft-inc/gsoft-componentmodel-dataannotations</PackageProjectUrl>
<Copyright>Copyright © Workleap. $([System.DateTime]::UtcNow.ToString(yyyy))</Copyright>
<Authors>Workleap</Authors>
<Owners>Workleap</Owners>
<PackageProjectUrl>https://github.com/gsoft-inc/wl-componentmodel-dataannotations</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<LangVersion>10</LangVersion>
Expand Down
60 changes: 0 additions & 60 deletions src/GSoft.ComponentModel.DataAnnotations/PublicAPI.Shipped.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class ContainsAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class EndsWithAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations;
using System.Linq;

namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class GuidAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class MaxValueAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class MinValueAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.ComponentModel.DataAnnotations;
using System.Globalization;

namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public sealed class NotEmptyAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class StartsWithAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Globalization;

namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

internal static class StringExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class TimeSpanAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class UrlOfKindAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;

namespace GSoft.ComponentModel.DataAnnotations.Tests;
namespace Workleap.ComponentModel.DataAnnotations.Tests;

public class ValidatePropertiesAttributeTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../GSoft.ComponentModel.DataAnnotations.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>../Workleap.ComponentModel.DataAnnotations.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\GSoft.ComponentModel.DataAnnotations\GSoft.ComponentModel.DataAnnotations.csproj" />
<ProjectReference Include="..\Workleap.ComponentModel.DataAnnotations\Workleap.ComponentModel.DataAnnotations.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GSoft.ComponentModel.DataAnnotations", "GSoft.ComponentModel.DataAnnotations\GSoft.ComponentModel.DataAnnotations.csproj", "{FB8215B8-9EE1-4566-BB13-D8C3BB64F64C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Workleap.ComponentModel.DataAnnotations", "Workleap.ComponentModel.DataAnnotations\Workleap.ComponentModel.DataAnnotations.csproj", "{FB8215B8-9EE1-4566-BB13-D8C3BB64F64C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GSoft.ComponentModel.DataAnnotations.Tests", "GSoft.ComponentModel.DataAnnotations.Tests\GSoft.ComponentModel.DataAnnotations.Tests.csproj", "{E226C160-6B01-4B70-AD7C-13AE9390B11E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Workleap.ComponentModel.DataAnnotations.Tests", "Workleap.ComponentModel.DataAnnotations.Tests\Workleap.ComponentModel.DataAnnotations.Tests.csproj", "{E226C160-6B01-4B70-AD7C-13AE9390B11E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "files", "files", "{9B779297-90BB-418A-AA2D-5606C2E93B14}"
ProjectSection(SolutionItems) = preProject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Diagnostics.CodeAnalysis;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = true)]
public sealed class ContainsAttribute : TextBasedValidationAttribute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class EndsWithAttribute : TextBasedValidationAttribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.ComponentModel.DataAnnotations;
using System.Globalization;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class GuidAttribute : ValidationAttribute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class MaxValueAttribute : RangeAttribute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class MinValueAttribute : RangeAttribute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

/// <summary>
/// Indicates that a property does not contains sensitive information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.ComponentModel.DataAnnotations;
using System.Linq;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class NotEmptyAttribute : ValidationAttribute
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

internal sealed class PropertiesValidationResult : ValidationResult
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

/// <summary>
/// This attribute has no effect. Its purpose is to let developers know that a configuration property
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace GSoft.ComponentModel.DataAnnotations;
namespace Workleap.ComponentModel.DataAnnotations;

/// <summary>
/// This attribute has no effect. Its purpose is to let developers know that a configuration property
Expand Down
Loading

0 comments on commit fb1d1d0

Please sign in to comment.