public static object HOptionsObject(this IList <string> options, string prefix) { // getting object serialized as string string AssemblyQualifiedName = options.HOptionsString(prefix); return(HReflection.StringToObject(AssemblyQualifiedName)); }
public static object HOptionsCreate(this IList <string> options, string prefix) { // create an object using AssemblyQualifiedName string AssemblyQualifiedName = options.HOptionsString(prefix); return(HReflection.CreateInstance(AssemblyQualifiedName)); }