public static ClassHandler CreateInstance(string classKey, int parameterIndex) { ClassHandler instance = null; if (ClassCache.DynamicClassDict.ContainsKey(classKey)) { Type type = ClassCache.DynamicClassDict[classKey]; instance = new ClassHandler(parameterIndex, type); } return(instance); }
public static ClassHandler CreateInstance(string classKey, LocalBuilder builder) { ClassHandler instance = null; if (ClassCache.DynamicClassDict.ContainsKey(classKey)) { Type type = ClassCache.DynamicClassDict[classKey]; instance = new ClassHandler(builder, type); } return(instance); }