-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
EditingScope.xml
172 lines (170 loc) · 10.4 KB
/
EditingScope.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<Type Name="EditingScope" FullName="System.Activities.Presentation.Model.EditingScope">
<TypeSignature Language="C#" Value="public class EditingScope : System.Activities.Presentation.Model.ModelEditingScope" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit EditingScope extends System.Activities.Presentation.Model.ModelEditingScope" />
<TypeSignature Language="DocId" Value="T:System.Activities.Presentation.Model.EditingScope" />
<TypeSignature Language="VB.NET" Value="Public Class EditingScope
Inherits ModelEditingScope" />
<TypeSignature Language="F#" Value="type EditingScope = class
 inherit ModelEditingScope" />
<TypeSignature Language="C++ CLI" Value="public ref class EditingScope : System::Activities::Presentation::Model::ModelEditingScope" />
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Activities.Presentation.Model.ModelEditingScope</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>An editing scope represents a collection of changes to the <see cref="T:System.Activities.Presentation.Model.ModelItem" /> tree that can be committed or rolled back as one atomic unit of work.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This is useful for batching together a set of changes to multiple <xref:System.Activities.Presentation.Model.ModelItem> objects. As an example, in the messaging activities, the changes made from the raised dialogs will impact multiple property values. However, as all of the changes come from the raised dialog, the changes need to be considered as a batch and undone as a single unit of work. For more details on usage, see the Editing Scope sample
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="CanComplete">
<MemberSignature Language="C#" Value="protected override bool CanComplete ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance bool CanComplete() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Presentation.Model.EditingScope.CanComplete" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CanComplete () As Boolean" />
<MemberSignature Language="F#" Value="override this.CanComplete : unit -> bool" Usage="editingScope.CanComplete " />
<MemberSignature Language="C++ CLI" Value="protected:
 override bool CanComplete();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Determines whether the current editing scope instance can complete.</summary>
<returns>
<see langword="true" /> if the editing scope can complete; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Changes">
<MemberSignature Language="C#" Value="public System.Collections.Generic.List<System.Activities.Presentation.Model.Change> Changes { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.List`1<class System.Activities.Presentation.Model.Change> Changes" />
<MemberSignature Language="DocId" Value="P:System.Activities.Presentation.Model.EditingScope.Changes" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Changes As List(Of Change)" />
<MemberSignature Language="F#" Value="member this.Changes : System.Collections.Generic.List<System.Activities.Presentation.Model.Change>" Usage="System.Activities.Presentation.Model.EditingScope.Changes" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Collections::Generic::List<System::Activities::Presentation::Model::Change ^> ^ Changes { System::Collections::Generic::List<System::Activities::Presentation::Model::Change ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.List<System.Activities.Presentation.Model.Change></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a list of changes.</summary>
<value>A list of changes.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HasEffectiveChanges">
<MemberSignature Language="C#" Value="public bool HasEffectiveChanges { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasEffectiveChanges" />
<MemberSignature Language="DocId" Value="P:System.Activities.Presentation.Model.EditingScope.HasEffectiveChanges" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property HasEffectiveChanges As Boolean" />
<MemberSignature Language="F#" Value="member this.HasEffectiveChanges : bool" Usage="System.Activities.Presentation.Model.EditingScope.HasEffectiveChanges" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool HasEffectiveChanges { bool get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a Boolean that specifies whether changes have been applied to the editing scope.</summary>
<value>
<see langword="true" /> if changes have been applied to the editing scope; otherwise, <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnComplete">
<MemberSignature Language="C#" Value="protected override void OnComplete ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnComplete() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Presentation.Model.EditingScope.OnComplete" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnComplete ()" />
<MemberSignature Language="F#" Value="override this.OnComplete : unit -> unit" Usage="editingScope.OnComplete " />
<MemberSignature Language="C++ CLI" Value="protected:
 override void OnComplete();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Raises the Complete event.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnException">
<MemberSignature Language="C#" Value="protected override bool OnException (Exception e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance bool OnException(class System.Exception e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Presentation.Model.EditingScope.OnException(System.Exception)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function OnException (e As Exception) As Boolean" />
<MemberSignature Language="F#" Value="override this.OnException : Exception -> bool" Usage="editingScope.OnException e" />
<MemberSignature Language="C++ CLI" Value="protected:
 override bool OnException(Exception ^ e);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Exception" />
</Parameters>
<Docs>
<param name="e">The exception to handle.</param>
<summary>Handles the specified exception.</summary>
<returns>
<see langword="true" /> if the exception is handled; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnRevert">
<MemberSignature Language="C#" Value="protected override void OnRevert (bool finalizing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnRevert(bool finalizing) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Presentation.Model.EditingScope.OnRevert(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnRevert (finalizing As Boolean)" />
<MemberSignature Language="F#" Value="override this.OnRevert : bool -> unit" Usage="editingScope.OnRevert finalizing" />
<MemberSignature Language="C++ CLI" Value="protected:
 override void OnRevert(bool finalizing);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities.Presentation</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="finalizing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="finalizing">Not used in this implementation.</param>
<summary>Raises the Revert event.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>