/// <summary>
        /// Creates the schema form info object to the specified type.
        /// </summary>
        /// <param name="type">The type.</param>
        /// <returns>
        /// The schema form info.
        /// </returns>
        public SchemaFormInfo CreateSchemaForm(Type type, CultureInfo cultureInfo)
        {
            SchemaFormInfo result = new SchemaFormInfo();

            result.Schema = _schemaBuilder.BuildSchema(type, cultureInfo);
            result.Form = _formBuilder.BuildForm(type, cultureInfo);
            result.Type = type;

            return result;
        }
Esempio n. 2
0
        /// <summary>
        /// Creates the schema form info object to the specified type.
        /// </summary>
        /// <param name="type">The type.</param>
        /// <returns>
        /// The schema form info.
        /// </returns>
        public SchemaFormInfo CreateSchemaForm(Type type, CultureInfo cultureInfo)
        {
            SchemaFormInfo result = new SchemaFormInfo();

            result.Schema = _schemaBuilder.BuildSchema(type, cultureInfo);
            result.Form   = _formBuilder.BuildForm(type, cultureInfo);
            result.Type   = type;

            return(result);
        }