public void TasqReferenceObjectResolver() { var typeTaskRef = TypeTasqReference.Resolve <SampleCommandWithoutReturnHandler>(); Assert.AreEqual(typeof(SampleCommandWithoutReturn), typeTaskRef.TasqProcess); Assert.AreEqual(typeof(SampleCommandWithoutReturnHandler), typeTaskRef.HandlerImplementation); Assert.AreEqual(typeof(ITasqHandler <SampleCommandWithoutReturn>), typeTaskRef.HandlerInterface); }
public override object GetService(TypeTasqReference typeTasqReference) { return(p_Provider.GetService(typeTasqReference.HandlerImplementation)); }