📄 serviceobjectfactory.cs
字号:
using System;
namespace EnterpriseObjects
{
/// <summary>
/// Summary description for ServiceObjectFactory.
/// </summary>
public class ServiceObjectFactory
{
public ServiceObjectFactory()
{
//
// TODO: Add constructor logic here
//
}
public virtual Service Create(Type type)
{
// do the work to create the object...
throw new NotImplementedException();
}
//law 2003-7-26 add
public virtual Service Create(string type)
{
// do the work to create the object...
throw new NotImplementedException();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -