Ejemplo n.º 1
0
 public TestActivity(IDebugDispatcher dispatcher)
     : base(false, "TestActivity", dispatcher)
 {
     UniqueID            = Guid.NewGuid().ToString();
     IsWorkflow          = true;
     IsSimulationEnabled = false;
 }
        protected DsfNativeActivity(bool isExecuteAsync, string displayName, IDebugDispatcher debugDispatcher)
        {
            if (debugDispatcher == null)
            {
                throw new ArgumentNullException("debugDispatcher");
            }

            if (!string.IsNullOrEmpty(displayName))
            {
                DisplayName = displayName;
            }

            _debugDispatcher = debugDispatcher;
            _isExecuteAsync  = isExecuteAsync;

            // This will get overwritten when rehydrating
            UniqueID = Guid.NewGuid().ToString();
        }
Ejemplo n.º 3
0
        protected DsfActivityAbstract(string displayName, IDebugDispatcher debugDispatcher, bool isAsync = false)
            : base(isAsync, displayName, debugDispatcher)
        {
            AmbientDataList  = new InOutArgument <List <string> >();
            ParentInstanceID = new InOutArgument <string>();

            InstructionList = new VisualBasicReference <List <string> >
            {
                ExpressionText = "InstructionList"
            };
            IsValid = new VisualBasicReference <bool>
            {
                ExpressionText = "IsValid"
            };
            HasError = new VisualBasicReference <bool>
            {
                ExpressionText = "HasError"
            };

            OnResumeClearTags = "FormView,InstanceId,Bookmark,ParentWorkflowInstanceId,ParentServiceName,WebPage";
        }
Ejemplo n.º 4
0
 public TestNativeActivity(bool isExecuteAsync, string displayName, IDebugDispatcher debugDispatcher)
     : base(isExecuteAsync, displayName, debugDispatcher)
 {
 }
Ejemplo n.º 5
0
 protected TestActivityAbstract(IDebugDispatcher dispatcher)
     : base(false, "TestActivity", dispatcher)
 {
 }
Ejemplo n.º 6
0
 // BUG 9304 - 2013.05.08 - TWR - Added this constructor for testing purposes
 protected DsfFlowNodeActivity(string displayName, IDebugDispatcher debugDispatcher, bool isAsync = false)
     : base(displayName, debugDispatcher, isAsync)
 {
     _expression = new CSharpValue <TResult>();
 }
Ejemplo n.º 7
0
 protected DsfFlowNodeActivity(string displayName, IDebugDispatcher debugDispatcher)
     : this(displayName, debugDispatcher, false)
 {
 }
Ejemplo n.º 8
0
 public DsfFlowSwitchActivity(string displayName, IDebugDispatcher debugDispatcher, bool isAsync)
     : base(displayName, debugDispatcher, isAsync)
 {
 }
Ejemplo n.º 9
0
 public DsfFlowSwitchActivity(string displayName, IDebugDispatcher debugDispatcher)
     : this(displayName, debugDispatcher, false)
 {
 }