示例#1
0
 public static object Initialize(Type type, int seed)
 {
     return(ShiboObjectInitializer.Initialize(type, seed));
 }
示例#2
0
 /// <summary>
 /// 对数据进行初始化
 /// </summary>
 /// <param name="type">初始化的类型</param>
 /// <returns></returns>
 public static object Initialize(Type type)
 {
     return(ShiboObjectInitializer.Initialize(type));
 }
示例#3
0
 /// <summary>
 /// 对数据进行初始化
 /// </summary>
 /// <typeparam name="T">初始化的类型</typeparam>
 /// <returns></returns>
 public static T Initialize <T>()
 {
     return(ShiboObjectInitializer.Initialize <T>());
 }
示例#4
0
 /// <summary>
 /// 对数据进行初始化
 /// </summary>
 /// <typeparam name="T">初始化的类型</typeparam>
 /// <param name="seed">初始化的种子</param>
 /// <returns></returns>
 public static T Initialize <T>(int seed)
 {
     return(ShiboObjectInitializer.Initialize <T>(seed));
 }
示例#5
0
 static ShiboObjectInitializer()
 {
     Instance         = new ShiboObjectInitializer();
     Instance.builder = new SocILBuilder();
 }