Пример #1
0
 public override void BuildOptions(Type typeOfFake, IFakeOptions options)
 {
     if (options != null)
     {
         options.WithArgumentsForConstructor(() => new ConstructorArgumentsSetByConstructor(this.GetType().Name));
     }
 }
Пример #2
0
 public override void BuildOptions(Type typeOfFake, IFakeOptions options)
 {
     if (options != null)
     {
         options.WithArgumentsForConstructor(new object[] { this.GetType().Name });
     }
 }