spc-kiosk-pb/Service/BsvSale/Activator.cs
2019-06-16 14:12:09 +09:00

39 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Common;
using Cosmos.BaseFrame;
using Cosmos.UserFrame;
/*-----------------------------------------------------------------------------------------------*/
// 설 명 : 판매등록
// 작 성 자 :
// 변경 이력 :
/*-----------------------------------------------------------------------------------------------*/
namespace Cosmos.Service
{
/// <summary>
/// 클레스 로딩 처리
/// </summary>
public class Activator : InitServiceAbstract
{
/// <summary>
/// 클레스 로딩
/// </summary>
/// <param name="sClassName"></param>
/// <returns></returns>
public override object InitServiceInstance(string sClassName)
{
//UserLog.WriteLogFile(UserCom.LOG_DEBUG, System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name
// , "Activator.InitServiceInstance()", "Message : Service Object Registration Start !!!");
object obj = System.Activator.CreateInstance(Type.GetType("Cosmos.Service." + sClassName));
//UserLog.WriteLogFile(UserCom.LOG_DEBUG, System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name
// , "Activator.InitServiceInstance()", "Message : Service Object Registration Completed !!!");
return obj;
}
}
}