-
Notifications
You must be signed in to change notification settings - Fork 3
Name Clashes
Manfred edited this page Jul 29, 2018
·
1 revision
In case of name clashes with other classes in your code base or in 3rd party libraries, use one of the following techniques in C# source files:
- use fully qualify names, e.g.
var firstName = RimuTec.Faker.Name.NameWithMiddle();
. Use this if there are only a couple of occurances. - add
using NameFaker = RimuTec.Faker.Name;
at the beginning of the file and thenvar firstName = NameFaker.NameWithMiddle();
. Use this option if you have many usages within the source file.