Esempio n. 1
0
        protected BaseQmlMvvmTestsWithInstance()
        {
            InteropBehaviors.ClearQmlInteropBehaviors();
            InteropBehaviors.RegisterQmlInteropBehavior(new MvvmQmlInteropBehavior());

            RegisterType <T>();
            Instance = new T();
            TypeCreator.SetInstance(typeof(T), Instance);
        }
Esempio n. 2
0
 public override void Dispose()
 {
     InteropBehaviors.ClearQmlInteropBehaviors();
     base.Dispose();
 }