C# Class GeositeFramework.MvcApplication

Inheritance: System.Web.HttpApplication
Show file Open project: CoastalResilienceNetwork/GeositeFramework

Protected Methods

Method Description
Application_Start ( ) : void

Private Methods

Method Description
CreateLogger ( string loggerName ) : void
LoadGeositeData ( ) : Geosite
PrepareLanguages ( Geosite data ) : Dictionary
mergeTranslations ( Dictionary ts1, Dictionary ts2 ) : Dictionary

Merges translations from ts1 into ts2 and returns the result. Source translations will overwrite target ones if there is a collision.

toTranslationDictionary ( string filename ) : string>.Dictionary

Reads a translation JSON file and returns a dictionary where key is original phrase and value is translated phrase.

Method Details

Application_Start() protected method

protected Application_Start ( ) : void
return void