Figure 26-7.
The configured While activity
Add a new automatic property of type string named UserName to your ProcessUsernameWorkflow
class. Within the scope of the GetAndValidateUserName() method, ask the user to enter his or her
name, and if the name consists of fewer than ten characters, set the Result property accordingly.
Here are the updates in question:
public sealed partial class ProcessUsernameWorkflow : SequentialWorkflowActivity
{
Do'stlaringiz bilan baham: