protected BaseQmlMvvmTestsWithInstance() { InteropBehaviors.ClearQmlInteropBehaviors(); InteropBehaviors.RegisterQmlInteropBehavior(new MvvmQmlInteropBehavior()); RegisterType <T>(); Instance = new T(); TypeCreator.SetInstance(typeof(T), Instance); }
public override void Dispose() { InteropBehaviors.ClearQmlInteropBehaviors(); base.Dispose(); }