Exemple #1
0
        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);
        }
Exemple #2
0
 public override object GetService(TypeTasqReference typeTasqReference)
 {
     return(p_Provider.GetService(typeTasqReference.HandlerImplementation));
 }