public static void SetMetaTable(this INamingContainer control, MetaTable table, object defaultValues) { if (defaultValues == null) { throw new ArgumentNullException("defaultValues"); } SetMetaTableInternal(control, table, Misc.ConvertObjectToDictionary(defaultValues), new HttpContextWrapper(HttpContext.Current)); }