public WorkflowArea Create() { var workflow = new WorkflowArea(); workflow.RegisterStep <AccountRegisterStep, AccountRegisterParams>(); workflow.RegisterStep <ChangePasswordStep, ChangePasswordParams>(); workflow.RegisterStep <StartRecoverPasswordStep, StartRecoverPasswordParams>(); workflow.RegisterStep <RecoverPasswordStep, RecoverPasswordParams>(); var usersWorkFlow = new UsersWorkflow(); workflow.CopyFrom(usersWorkFlow.Create()); return(workflow); }
public WorkflowArea Create() { var workflow = new WorkflowArea(); workflow.RegisterStep<CheckRecaptchaStep, CheckRecaptchaParams>(); workflow.RegisterStep<CheckUserExistsStep, CheckUserExistsParams>(); workflow.RegisterStep<UserNotFoundStep, UserNotFoundParams>(); workflow.RegisterStep<GetAccountSettingsStep, GetAccountSettingsParams>(); workflow.RegisterStep<UpdateAccountSettingsStep, UpdateAccountSettingsParams>(); workflow.RegisterStep<ChangeStatusTextStep, ChangeStatusTextParams>(); workflow.RegisterStep<UpdateAccountAvatarStep, UpdateAccountAvatarParams>(); return workflow; }
public WorkflowArea Create() { var workflow = new WorkflowArea(); workflow.RegisterStep <CheckUserExistsStep, CheckUserExistsParams>(); workflow.RegisterStep <UserNotFoundStep, UserNotFoundParams>(); workflow.RegisterStep <StartFollowingStep, StartFollowingParams>(); workflow.RegisterStep <StopFollowingStep, StopFollowingParams>(); workflow.RegisterStep <GetProfileStep, GetProfileParams>(); workflow.RegisterStep <SetLikeListStep, SetLikeListParams>(); workflow.RegisterStep <UnsetLikeListStep, UnsetLikeListParams>(); workflow.RegisterStep <CheckListExistsStep, CheckListExistsParams>(); workflow.RegisterStep <RepostListStep, RepostListParams>(); workflow.RegisterStep <FindUsersStep, FindUsersParams>(); workflow.RegisterStep <GetWhoFollowStep, GetWhoFollowParams>(); workflow.RegisterStep <GetFollowingsStep, GetFollowingsParams>(); return(workflow); }
public WorkflowArea Create() { var workflow = new WorkflowArea(); workflow.RegisterStep <AuthListReadStep, AuthParams>(); workflow.RegisterStep <CheckUserExistsStep, CheckUserExistsParams>(); workflow.RegisterStep <UserNotFoundStep, UserNotFoundParams>(); workflow.RegisterStep <FetchUserListsStep, FetchUserListsParams>(); workflow.RegisterStep <AddNewListStep, AddNewListParams>(); workflow.RegisterStep <ListNotFoundStep, ListNotFoundParams>(); workflow.RegisterStep <CheckListExistsStep, CheckListExistsParams>(); workflow.RegisterStep <UpdateListStep, UpdateListParams>(); workflow.RegisterStep <RemoveListStep, RemoveListParams>(); workflow.RegisterStep <AddNewListItemStep, AddNewListItemParams>(); workflow.RegisterStep <ListItemNotFoundStep, ListItemNotFoundParams>(); workflow.RegisterStep <UpdateListItemStep, UpdateListItemParams>(); workflow.RegisterStep <CheckListItemExistsStep, CheckListItemExistsParams>(); workflow.RegisterStep <RemoveListItemStep, RemoveListItemParams>(); workflow.RegisterStep <MoveToListItemStep, MoveToListItemParams>(); workflow.RegisterStep <GetUserFeedStep, GetUserFeedParams>(); workflow.RegisterStep <UpdateListKindStep, UpdateListKindParams>(); workflow.RegisterStep <UserListNotFoundStep, UserListNotFoundParams>(); workflow.RegisterStep <CheckUserListExistsStep, CheckUserListExistsParams>(); workflow.RegisterStep <UpdateListCheckItemKindStep, UpdateListCheckItemKindParams>(); workflow.RegisterStep <UpdateListItemCheckStep, UpdateListItemCheckParams>(); workflow.RegisterStep <UpdatePublishedStep, UpdatePublishedParams>(); return(workflow); }