public static T InstanceFor(string namespacePrefix, string classnamePrefix, PeriodSpan contractPeriod)
        {
            Assembly assembly = typeof(ServiceContractModule).Assembly;

            return(GeneralFactory <T> .InstanceFor(assembly, namespacePrefix, ClassNameFor(classnamePrefix, contractPeriod)));
        }
示例#2
0
        public static IPayrollArticle ArticleFor(Assembly configAssembly, string articleName)
        {
            string articleClass = ClassNameFor(articleName);

            return(GeneralFactory <IPayrollArticle> .InstanceFor(configAssembly, NAME_SPACE_PREFIX, articleClass));
        }
示例#3
0
        public static IPayrollConcept ConceptFor(Assembly configAssembly, string conceptName)
        {
            string conceptClass = ClassNameFor(conceptName);

            return(GeneralFactory <IPayrollConcept> .InstanceFor(configAssembly, NAME_SPACE_PREFIX, conceptClass));
        }
        public static T InstanceFor(string namespacePrefix, string classnamePrefix, SpanOfYears span)
        {
            Assembly assembly = typeof(EngineServiceModule).Assembly;

            return(GeneralFactory <T> .InstanceFor(assembly, namespacePrefix, ClassNameFor(classnamePrefix, span)));
        }
 public static T InstanceForPattern(Assembly assembly, string namespacePrefix, string classnamePrefix, HistoryPattern pattern)
 {
     return(GeneralFactory <T> .InstanceFor(assembly, namespacePrefix, ClassNameFor(classnamePrefix, pattern)));
 }
 public static T InstanceForClazz(Assembly assembly, string namespacePrefix, string className)
 {
     return(GeneralFactory <T> .InstanceFor(assembly, namespacePrefix, className));
 }