title: error CS1593 in netcore."Delegate ... Does not take 1 arguments
body: <p>I'm trying to seed my database with Bogus and Faker when this error occurs:</p>
  
  <pre><code>error CS1593: Delegate 'Func&lt;Faker, Address, short&gt;' does not take 1 arguments
  </code></pre>
  
  <p>This is my code snippet and the error starts at the BuildingNumber method.</p>
  
  <pre><code>if (!context.Addresses.Any())
              {
                  var faker = new Bogus.DataSets.Address();
                  var addressSkeleton = new Faker&lt;Resa.Models.Address&gt;()
                  .RuleFor(a =&gt; a.Street, f =&gt; faker.StreetAddress())
                  .RuleFor(a =&gt; a.Number, f =&gt; faker.BuildingNumber())
                  .RuleFor(a =&gt; a.Latitude, f =&gt; faker.Latitude())
                  .RuleFor(a =&gt; a.Longitude, f =&gt; faker.Longitude())
                  .FinishWith((f,a) =&gt; {
                      Console.WriteLine("Address created with Bogus: {0}!", a.Street);
                  });
  </code></pre>
  
  <p>According to the documentation found at <a href="https://github.com/bchavez/Bogus" rel="nofollow noreferrer">https://github.com/bchavez/Bogus</a> there should be no parameter in the method.</p>