internal RegisterActivityTypeRequest RegisterRequest(string domainName)
 {
     return(new RegisterActivityTypeRequest
     {
         Name = Name,
         Version = Version,
         Description = Description,
         Domain = domainName,
         DefaultTaskList = DefaultTaskListName.TaskList(),
         DefaultTaskStartToCloseTimeout = DefaultStartToCloseTimeout.Seconds(),
         DefaultTaskPriority = DefaultTaskPriority.ToString(),
         DefaultTaskHeartbeatTimeout = DefaultHeartbeatTimeout.Seconds(),
         DefaultTaskScheduleToCloseTimeout = DefaultScheduleToCloseTimeout.Seconds(),
         DefaultTaskScheduleToStartTimeout = DefaultScheduleToStartTimeout.Seconds()
     });
 }
示例#2
0
 internal RegisterWorkflowTypeRequest RegisterRequest(string domainName)
 {
     return(new RegisterWorkflowTypeRequest
     {
         Name = Name,
         Version = Version,
         Description = Description,
         Domain = domainName,
         DefaultExecutionStartToCloseTimeout = DefaultExecutionStartToCloseTimeout.Seconds(),
         DefaultTaskList = DefaultTaskListName.TaskList(),
         DefaultTaskStartToCloseTimeout = DefaultTaskStartToCloseTimeout.Seconds(),
         DefaultChildPolicy = DefaultChildPolicy,
         DefaultLambdaRole = DefaultLambdaRole,
         DefaultTaskPriority = DefaultTaskPriority.ToString()
     });
 }