예제 #1
0
        public static IntegrateProvider Instance(string applicationType, string configStr)
        {
            IntegrateProvider provider = Activator.CreateInstance(Type.GetType(applicationType)) as IntegrateProvider;

            provider.Init(configStr);
            return(provider);
        }
예제 #2
0
        public static IntegrateProvider Instance(string applicationType, string configStr)
        {
            Type type = Type.GetType(applicationType);
            IntegrateProvider integrateProvider = Activator.CreateInstance(type) as IntegrateProvider;

            integrateProvider.Init(configStr);
            return(integrateProvider);
        }