Exemple #1
0
        public void OnPreLoad()
        {
            Tunings.Inject<Mailbox, Mailbox.GetMail.Definition, Definition>(false);

            sOldSingleton = Singleton;
            Singleton = new Definition();

            sOldFakeSingleton = FakeSingleton;
            FakeSingleton = new FakeDefinition();
        }
Exemple #2
0
        public void OnPreLoad()
        {
            Tunings.Inject <Mailbox, Mailbox.GetMail.Definition, Definition>(false);

            sOldSingleton = Singleton;
            Singleton     = new Definition();

            sOldFakeSingleton = FakeSingleton;
            FakeSingleton     = new FakeDefinition();
        }