Exemple #1
0
        public virtual bool Persist()
        {
            PersistentOptionBase options = Store;

            if (options == null)
            {
                return(false);
            }

            return(options.Store(this));
        }
Exemple #2
0
        public virtual void Startup(PersistentOptionBase options)
        {
            BooterLogger.AddTrace("Startup " + UnlocalizedName);

            mAlarms.Manager = this;

            foreach (OptionItem option in mOptions)
            {
                options.Restore(option);
            }

            Startup();
        }