public void OnEvent(object sender, Db4objects.Db4o.Events.ClassEventArgs args) { ClassEventArgs classEventArgs = (ClassEventArgs)args; Assert.AreEqual(typeof(ClassRegistrationEventsTestCase.Data).FullName, CrossPlatformServices .SimpleName(classEventArgs.ClassMetadata().GetName())); eventFlag.eventOccurred = true; }
public void OnEvent(object sender, Db4objects.Db4o.Events.ClassEventArgs args) { ClassEventArgs cea = (ClassEventArgs)args; processor.OnClassRegistered(cea.ClassMetadata()); }