示例#1
0
        public static object HOptionsObject(this IList <string> options, string prefix)
        {
            // getting object serialized as string
            string AssemblyQualifiedName = options.HOptionsString(prefix);

            return(HReflection.StringToObject(AssemblyQualifiedName));
        }
示例#2
0
        public static object HOptionsCreate(this IList <string> options, string prefix)
        {
            // create an object using AssemblyQualifiedName
            string AssemblyQualifiedName = options.HOptionsString(prefix);

            return(HReflection.CreateInstance(AssemblyQualifiedName));
        }