ECF Code Review
Federal Court Electronic Court Files
Workflow1.cs
Go to the documentation of this file.
1 // ***********************************************************************
2 // Assembly : DoxygenTest2
3 // Documented By : Ron Cresswell
4 // Created : 05-07-2015
5 //
6 // Last Modified By : Ron Cresswell
7 // Last Modified On : 05-07-2015
8 // ***********************************************************************
9 // <copyright file="Workflow1.cs" company="Microsoft">
10 // Copyright © Microsoft 2015
11 // </copyright>
12 // <summary></summary>
13 // ***********************************************************************
14 using System;
15 using System.ComponentModel;
16 using System.ComponentModel.Design;
17 using System.Collections;
18 using System.Drawing;
19 using System.Linq;
20 using System.Workflow.ComponentModel.Compiler;
21 using System.Workflow.ComponentModel.Serialization;
22 using System.Workflow.ComponentModel;
23 using System.Workflow.ComponentModel.Design;
24 using System.Workflow.Runtime;
25 using System.Workflow.Activities;
26 using System.Workflow.Activities.Rules;
27 using Microsoft.SharePoint;
28 using Microsoft.SharePoint.Workflow;
29 using Microsoft.SharePoint.WorkflowActions;
30 
34 namespace DoxygenTest2
35 {
39  public sealed partial class Workflow1 : SequentialWorkflowActivity
40  {
44  public Workflow1()
45  {
47  }
48 
52  public Guid workflowId = default(System.Guid);
56  public SPWorkflowActivationProperties workflowProperties = new SPWorkflowActivationProperties();
57 
63  private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e)
64  {
65  bool dummy1 = getD1Value();
66  bool dummy2 = getD2Value();
67  bool dummy3 = getD3Value();
68  bool dummy4 = getD4Value();
69  bool dummy5 = getD5Value();
70  bool dummy6 = getD6Value();
71  bool dummy7 = getD7Value();
72 
73  }
74 
79  private bool getD1Value()
80  {
81  return true;
82  }
87  private bool getD2Value()
88  {
89  return getD1Value();
90  }
95  private bool getD3Value()
96  {
97  return getD2Value();
98  }
103  private bool getD4Value()
104  {
105  return getD3Value();
106  }
111  private bool getD5Value()
112  {
113  return getD2Value();
114  }
119  private bool getD6Value()
120  {
121  return false;
122  }
127  private bool getD7Value()
128  {
129  return getD2Value();
130  }
131  }
132 }
bool getD7Value()
Gets the d7 value.
Definition: Workflow1.cs:127
bool getD4Value()
Gets the d4 value.
Definition: Workflow1.cs:103
bool getD3Value()
Gets the d3 value.
Definition: Workflow1.cs:95
bool getD6Value()
Gets the d6 value.
Definition: Workflow1.cs:119
The WF namespace.
Definition: Workflow1.cs:34
void InitializeComponent()
Required method for Designer support - do not modify the contents of this method with the code editor...
Guid workflowId
The workflow identifier
Definition: Workflow1.cs:52
bool getD2Value()
Gets the d2 value.
Definition: Workflow1.cs:87
SPWorkflowActivationProperties workflowProperties
The workflow properties
Definition: Workflow1.cs:56
Class Workflow1. This class cannot be inherited.
Definition: Workflow1.cs:39
void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e)
Handles the Invoked event of the onWorkflowActivated1 control.
Definition: Workflow1.cs:63
Workflow1()
Initializes a new instance of the Workflow1 class.
Definition: Workflow1.cs:44
bool getD5Value()
Gets the d5 value.
Definition: Workflow1.cs:111
bool getD1Value()
Gets the d1 value.
Definition: Workflow1.cs:79