コード例 #1
0
 /// <summary>
 /// Reset and configure how the specified type is populated by GenFu
 /// NOTE: Overwrites all previous configuration
 /// </summary>
 /// <typeparam name="T">The target object type</typeparam>
 /// <returns>A configurator for the specified object type</returns>
 public static GenFuConfigurator <T> Configure <T>() where T : new()
 {
     return(GenFuInstance.Configure <T>());
 }
コード例 #2
0
 /// <summary>
 /// Resets GenFu to default state for next generation
 /// and allows access to fluent interface.
 /// </summary>
 /// <returns></returns>
 public static GenFuConfigurator Configure()
 {
     return(GenFuInstance.Configure());
 }