Skip to content

Commit

Permalink
Fix up on ExtensionsForItaly.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Dec 8, 2017
1 parent 75fb1fa commit 7fd4110
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ public void Or_Using_DataSets_Directly()
* `Bogus.Person.Cpr()` - Danish Personal Identification number
* **`using Bogus.Extensions.Finland;`**
* `Bogus.Person.Henkilötunnus()` - Finnish Henkilötunnus
* **`using Bogus.Extensions.Italy;`**
* `Bogus.Person.CodiceFiscale()` - Codice Fiscale
* `Bogus.DataSets.Finance.CodiceFiscale()` - Codice Fiscale
* **`using Bogus.Extensions.UnitedKingdom;`**
* `Bogus.DataSets.Finance.ShortCode()` - Banking Short Code
* **`using Bogus.Extensions.UnitedStates;`**
Expand Down
1 change: 1 addition & 0 deletions Source/Bogus.Tests/ExtensionTests/ExtensionTest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Bogus.DataSets;
using Bogus.Extensions;
using Bogus.Extensions.UnitedKingdom;
using Bogus.Extensions.Italy;
using FluentAssertions;
using System;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text;
using System.Text.RegularExpressions;

namespace Bogus.Extensions
namespace Bogus.Extensions.Italy
{
/// <summary>
/// This class implements the principal routines of the Italian fiscal code,
Expand Down
7 changes: 3 additions & 4 deletions Source/Bogus/Extensions/ExtensionsForItaly.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
using Bogus.DataSets;
using System;

namespace Bogus.Extensions
namespace Bogus.Extensions.Italy
{
/// <summary>
/// Italian class extensions
/// </summary>
public static class ExtensionsForItaly
{
/// <summary>
/// Extends the Person class with Italian Fiscal Code
/// Codice Fiscale
/// </summary>
/// <param name="p">The holder</param>
/// <param name="validChecksum">
Expand All @@ -27,8 +27,7 @@ public static string CodiceFiscale(this Person p, bool validChecksum = true)
}

/// <summary>
/// Extends the Finance data set with Italian Fiscal Code and more
/// fine grained parameters
/// Codice Fiscale
/// </summary>
/// <param name="finance">An instance of the extended Finance class</param>
/// <param name="lastName">Last name of the holder</param>
Expand Down

0 comments on commit 7fd4110

Please sign in to comment.