示例#1
0
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 /// <param name="host"></param>
 public ActivityAsyncTaskExtension(ActivityWorkflowHost host)
     : base(new ActivityAsyncTaskExecutor(host))
 {
     if (host == null)
     {
         throw new ArgumentNullException(nameof(host));
     }
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 /// <param name="host"></param>
 public ActivityAsyncTaskExtension(ActivityWorkflowHost host)
     : base(new ActivityAsyncTaskExecutor(host))
 {
     Contract.Requires <ArgumentNullException>(host != null);
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 internal ActivityActorCore(ActorService actorService, ActorId actorId)
     : base(actorService, actorId)
 {
     host = new ActivityWorkflowHost(this);
 }
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 /// <param name="host"></param>
 public ActivityAsyncTaskExecutor(ActivityWorkflowHost host)
 {
     this.host = host ?? throw new ArgumentNullException(nameof(host));
 }
示例#5
0
        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        /// <param name="host"></param>
        public ActivityActorStateManager(ActivityWorkflowHost host)
        {
            Contract.Requires <ArgumentNullException>(host != null);

            this.host = host;
        }
示例#6
0
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 internal ActivityActorCore()
 {
     host = new ActivityWorkflowHost(this);
 }
 /// <summary>
 /// Initializes a new instance.
 /// </summary>
 /// <param name="host"></param>
 public ActivityActorStateManager(ActivityWorkflowHost host)
 {
     this.host = host ?? throw new ArgumentNullException(nameof(host));
 }
        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        /// <param name="host"></param>
        public ActivityAsyncTaskExecutor(ActivityWorkflowHost host)
        {
            Contract.Requires <ArgumentNullException>(host != null);

            this.host = host;
        }