ECF Code Review
Federal Court Electronic Court Files
Workflow1.cs
Go to the documentation of this file.
1 // ***********************************************************************
2 // Assembly : DoxygenTest
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 
35 {
39  public sealed partial class Workflow1 : SequentialWorkflowActivity
40  {
44  public Workflow1()
45  {
46  InitializeComponent();
47  }
48 
52  public Guid workflowId = default(System.Guid);
56  public SPWorkflowActivationProperties workflowProperties = new SPWorkflowActivationProperties();
57 
58 
64  private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e)
65  {
66  bool dummy1 = getD1Value();
67  bool dummy2 = getD2Value();
68  bool dummy3 = getD3Value();
69  bool dummy4 = getD4Value();
70  bool dummy5 = getD5Value();
71  bool dummy6 = getD6Value();
72  bool dummy7 = getD7Value();
73 
74  }
75 
80  private bool getD1Value()
81  {
82  return true;
83  }
88  private bool getD2Value()
89  {
90  return getD1Value();
91  }
96  private bool getD3Value()
97  {
98  return getD2Value();
99  }
104  private bool getD4Value()
105  {
106  return getD3Value();
107  }
112  private bool getD5Value()
113  {
114  return getD2Value();
115  }
120  private bool getD6Value()
121  {
122  return false;
123  }
128  private bool getD7Value()
129  {
130  return getD2Value();
131  }
132  }
133 }
void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e)
Handles the Invoked event of the onWorkflowActivated1 control.
Definition: Workflow1.cs:64
bool getD3Value()
Gets the d3 value.
Definition: Workflow1.cs:96
Workflow1()
Initializes a new instance of the Workflow1 class.
Definition: Workflow1.cs:44
Class Workflow1. This class cannot be inherited.
Definition: Workflow1.cs:39
bool getD6Value()
Gets the d6 value.
Definition: Workflow1.cs:120
bool getD5Value()
Gets the d5 value.
Definition: Workflow1.cs:112
bool getD7Value()
Gets the d7 value.
Definition: Workflow1.cs:128
bool getD1Value()
Gets the d1 value.
Definition: Workflow1.cs:80
bool getD4Value()
Gets the d4 value.
Definition: Workflow1.cs:104
bool getD2Value()
Gets the d2 value.
Definition: Workflow1.cs:88