func init // adds using namespace sys.add_use('System.Globalization') // initialize instance if(linked("CultureInfo")) this.setfield('cult', d("CultureInfo")) elseif(isdef("CultureInfo")) warning(this.name + ' - property CultureInfo does not defined') else this.setfield('cult', sys.get_undef_manager("CultureInfo")) end end func doCreateSpecificCulture(data) if(linked("onCreateSpecificCulture")) event("onCreateSpecificCulture", 'CultureInfo.CreateSpecificCulture(' + d("cultureName") + ')') else blk.println('CultureInfo.CreateSpecificCulture(', d("cultureName"), ');') end end func doGetCultureInfo(data) if(linked("onGetCultureInfo")) event("onGetCultureInfo", 'CultureInfo.GetCultureInfo(' + d("cultureID") + ')') else blk.println('CultureInfo.GetCultureInfo(', d("cultureID"), ');') end end func doGetCultureInfo2(data) if(linked("onGetCultureInfo")) event("onGetCultureInfo", 'CultureInfo.GetCultureInfo(' + d("cultureName") + ')') else blk.println('CultureInfo.GetCultureInfo(', d("cultureName"), ');') end end func doGetCultureInfo3(data) if(linked("onGetCultureInfo")) event("onGetCultureInfo", 'CultureInfo.GetCultureInfo(' + d("cultureName") + ', ' + d("altName") + ')') else blk.println('CultureInfo.GetCultureInfo(', d("cultureName"), ', ', d("altName"), ');') end end func doGetCultureInfoByIetfLanguageTag(data) if(linked("onGetCultureInfoByIetfLanguageTag")) event("onGetCultureInfoByIetfLanguageTag", 'CultureInfo.GetCultureInfoByIetfLanguageTag(' + d("cultureName") + ')') else blk.println('CultureInfo.GetCultureInfoByIetfLanguageTag(', d("cultureName"), ');') end end func doGetCultures(data) if(linked("onGetCultures")) event("onGetCultures", 'CultureInfo.GetCultures(' + d("types") + ')') else blk.println('CultureInfo.GetCultures(', d("types"), ');') end end func doGetFormat(data) if(linked("onGetFormat")) event("onGetFormat", this.cult + '.GetFormat(' + d("formatType") + ')') else blk.println(this.cult, '.GetFormat(', d("formatType"), ');') end end func Calendar return(this.cult + '.Calendar') end func CompareInfo return(this.cult + '.CompareInfo') end func CultureTypes return(this.cult + '.CultureTypes') end func DateTimeFormat return(this.cult + '.DateTimeFormat') end func DisplayName return(this.cult + '.DisplayName') end func EnglishName return(this.cult + '.EnglishName') end func IetfLanguageTag return(this.cult + '.IetfLanguageTag') end func IsNeutralCulture return(this.cult + '.IsNeutralCulture') end func IsReadOnly return(this.cult + '.IsReadOnly') end func KeyboardLayoutId return(this.cult + '.KeyboardLayoutId') end func LCID return(this.cult + '.LCID') end func Name return(this.cult + '.Name') end func NativeName return(this.cult + '.NativeName') end func NumberFormat return(this.cult + '.NumberFormat') end func OptionalCalendars return(this.cult + '.OptionalCalendars') end func Parent return(this.cult + '.Parent') end func ReadOnly return('CultureInfo.ReadOnly(' + this.cult + ')') end func TextInfo return(this.cult + '.TextInfo') end func ThreeLetterISOLanguageName return(this.cult + '.ThreeLetterISOLanguageName') end func ThreeLetterWindowsLanguageName return(this.cult + '.ThreeLetterWindowsLanguageName') end func TwoLetterISOLanguageName return(this.cult + '.TwoLetterISOLanguageName') end func UseUserOverride return(this.cult + '.UseUserOverride') end