音频内容
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* 默认对象工厂:相关对象是通过New 出来的
|
||||
*/
|
||||
|
||||
namespace AibisDream.Kit
|
||||
{
|
||||
public class DefaultObjectFactory<T> : IObjectFactory<T> where T : new()
|
||||
{
|
||||
public T Create()
|
||||
{
|
||||
return new T();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user