/// <summary> /// 生成引用 /// </summary> /// <typeparam name="T">引用类型</typeparam> /// <returns>对象</returns> public T Spawn <T>() where T : class, IReference, new() { return(_helper.Spawn <T>()); }
/// <summary> /// 生成引用 /// </summary> /// <typeparam name="T">引用类型</typeparam> /// <returns>对象</returns> public T Spawn <T>() where T : class, IReference, new() { return(_helper.Spawn(typeof(T)) as T); }