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