/// <summary> /// creates objects with parameters in their constructors /// </summary> /// <param name="fileName"></param> /// <param name="assemblyLocation"></param> /// <returns></returns> public static List <dynamic> CreateAndInitializeProperties(string fileName, string assemblyLocation) { ViableMapAndData aMap = ReadObject.LoadMap(fileName); return(CreateAndInitializeProperties(aMap, assemblyLocation)); }
/// <summary> /// No parameters in constructor /// </summary> /// <param name="fileName"></param> /// <param name="anAssembly"></param> /// <returns></returns> public static List <Tuple <String, String, object> > CreateObjectAndRunMethodsNoParams(string fileName, Assembly anAssembly) { ViableMapAndData aMap = ReadObject.LoadMap(fileName); return(CreateObjectAndRunMethodsNoParams(aMap, anAssembly, null)); }
public static List <Tuple <String, String, object> > CreateObjectInitializeFieldsAndRunMethods(string fileName, Assembly anAssembly) { ViableMapAndData aMap = ReadObject.LoadMap(fileName); return(CreateObjectInitializeFieldsAndRunMethods(aMap, anAssembly)); }
/// <summary> /// No paramters in constuctor /// </summary> /// <param name="fileName"></param> /// <param name="anAssembly"></param> /// <returns></returns> private static List <Tuple <String, String, object> > CreateInitializePropertiesFieldsAndRunMethodsWoParams(string fileName, Assembly anAssembly) { ViableMapAndData aMap = ReadObject.LoadMap(fileName); return(CreateInitializePropertiesFieldsAndRunMethodsWoParams(aMap, anAssembly)); }
/// <summary> /// creates objects without parameters in their constructors /// </summary> /// <param name="fileName"></param> /// <param name="assemblyLocation"></param> /// <returns></returns> public static List <dynamic> CreateAndInitializePropertiesWoParams(string fileName, Assembly anAssembly) { ViableMapAndData aMap = ReadObject.LoadMap(fileName); return(CreateAndInitializeProperties(aMap, anAssembly, null)); }
//creates objects and initializes fields wiht paramters in constructor public static List <dynamic> CreateAndInitializeFields(string fileName, Assembly anAssembly) { ViableMapAndData aMap = ReadObject.LoadMap(fileName); return(CreateAndInitializeFields(aMap, anAssembly)); }