Пример #1
0
 protected override void OnPrepare()
 {
     base.OnPrepare();
     LocalizationModule.Initialize(this);
     this.repository = this.GetRepository <LocalizationRepository>();
     this.content    = ContentModule.GetContent <LocalizationContent>();
 }
Пример #2
0
        protected override void OnPrepare()
        {
            base.OnPrepare();
            var database = this.GetDatabase <IPrefsDatabase>();

            this.dao     = database.GetDao <LocalizationStateDao>();
            this.content = ContentModule.GetContent <LocalizationContent>();
        }
Пример #3
0
 protected sealed override void OnCreate()
 {
     base.OnCreate();
     instance = this;
 }