Пример #1
0
        public void Defaults()
        {
            Assert.That(WorkflowRunContext.Current, Is.Not.Null);
            Assert.That(WorkflowRunContext.Current.RunTriggersInCurrentThread, Is.EqualTo(false));

            using (var ctx = new WorkflowRunContext())
            {
                Assert.That(WorkflowRunContext.Current, Is.Not.Null);
                Assert.That(WorkflowRunContext.Current, Is.EqualTo(ctx));
                Assert.That(WorkflowRunContext.Current.RunTriggersInCurrentThread, Is.EqualTo(false));
            }

            Assert.That(WorkflowRunContext.Current, Is.Not.Null);
            Assert.That(WorkflowRunContext.Current.RunTriggersInCurrentThread, Is.EqualTo(false));
        }
Пример #2
0
 public HttpBindings(WorkflowRunContext context)
 {
     _context = context;
 }
Пример #3
0
 public LogicAppBindings(WorkflowRunContext context)
 {
     _context = context;
 }