Exemple #1
0
        public void SlamStatic()
        {
            DefaultInjectors.LogMessage(("Current Value of MySourceClass.PublicStaticWhatsTheTime() = " + MySourceClass.WhatsTheTIme()));

            Injector.SlamClass(typeof(MySourceClass), typeof(MySourceClass_Slam));

            DefaultInjectors.LogMessage("New Value of MySourceClass.PublicStaticWhatsTheTime() = " + MySourceClass.WhatsTheTIme());
        }
Exemple #2
0
 public static void WriteLine(String value)
 {
     DefaultInjectors.LogMessage(value);
 }
Exemple #3
0
 public void SlamUI()
 {
     DefaultInjectors.LogMessage("Hello World");
 }