/
MsgUtils.xml
246 lines (246 loc) · 12.6 KB
/
MsgUtils.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<Type Name="MsgUtils" FullName="NUnit.Framework.Constraints.MsgUtils">
<TypeSignature Language="C#" Value="public class MsgUtils" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MsgUtils extends System.Object" />
<TypeSignature Language="DocId" Value="T:NUnit.Framework.Constraints.MsgUtils" />
<TypeSignature Language="F#" Value="type MsgUtils = class" />
<AssemblyInfo>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Static methods used in creating messages
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MsgUtils ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClipExpectedAndActual">
<MemberSignature Language="C#" Value="public static void ClipExpectedAndActual (ref string expected, ref string actual, int maxDisplayLength, int mismatch);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void ClipExpectedAndActual(string& expected, string& actual, int32 maxDisplayLength, int32 mismatch) cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.ClipExpectedAndActual(System.String@,System.String@,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="static member ClipExpectedAndActual : * * int * int -> unit" Usage="NUnit.Framework.Constraints.MsgUtils.ClipExpectedAndActual (expected, actual, maxDisplayLength, mismatch)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="expected" Type="System.String" RefType="ref" />
<Parameter Name="actual" Type="System.String" RefType="ref" />
<Parameter Name="maxDisplayLength" Type="System.Int32" />
<Parameter Name="mismatch" Type="System.Int32" />
</Parameters>
<Docs>
<param name="expected">
</param>
<param name="actual">
</param>
<param name="maxDisplayLength">
</param>
<param name="mismatch">
</param>
<summary>
Clip the expected and actual strings in a coordinated fashion,
so that they may be displayed together.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClipString">
<MemberSignature Language="C#" Value="public static string ClipString (string s, int maxStringLength, int clipStart);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string ClipString(string s, int32 maxStringLength, int32 clipStart) cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.ClipString(System.String,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="static member ClipString : string * int * int -> string" Usage="NUnit.Framework.Constraints.MsgUtils.ClipString (s, maxStringLength, clipStart)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="s" Type="System.String" />
<Parameter Name="maxStringLength" Type="System.Int32" />
<Parameter Name="clipStart" Type="System.Int32" />
</Parameters>
<Docs>
<param name="s">The string to be clipped</param>
<param name="maxStringLength">The maximum permitted length of the result string</param>
<param name="clipStart">The point at which to start clipping</param>
<summary>
Clip a string to a given length, starting at a particular offset, returning the clipped
string with ellipses representing the removed parts
</summary>
<returns>The clipped string</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EscapeControlChars">
<MemberSignature Language="C#" Value="public static string EscapeControlChars (string s);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string EscapeControlChars(string s) cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.EscapeControlChars(System.String)" />
<MemberSignature Language="F#" Value="static member EscapeControlChars : string -> string" Usage="NUnit.Framework.Constraints.MsgUtils.EscapeControlChars s" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="s" Type="System.String" />
</Parameters>
<Docs>
<param name="s">The string to be converted</param>
<summary>
Converts any control characters in a string
to their escaped representation.
</summary>
<returns>The converted string</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FindMismatchPosition">
<MemberSignature Language="C#" Value="public static int FindMismatchPosition (string expected, string actual, int istart, bool ignoreCase);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 FindMismatchPosition(string expected, string actual, int32 istart, bool ignoreCase) cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.FindMismatchPosition(System.String,System.String,System.Int32,System.Boolean)" />
<MemberSignature Language="F#" Value="static member FindMismatchPosition : string * string * int * bool -> int" Usage="NUnit.Framework.Constraints.MsgUtils.FindMismatchPosition (expected, actual, istart, ignoreCase)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="expected" Type="System.String" />
<Parameter Name="actual" Type="System.String" />
<Parameter Name="istart" Type="System.Int32" />
<Parameter Name="ignoreCase" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="expected">The expected string</param>
<param name="actual">The actual string</param>
<param name="istart">The index in the strings at which comparison should start</param>
<param name="ignoreCase">Boolean indicating whether case should be ignored</param>
<summary>
Shows the position two strings start to differ. Comparison
starts at the start index.
</summary>
<returns>-1 if no mismatch found, or the index where mismatch found</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetArrayIndicesAsString">
<MemberSignature Language="C#" Value="public static string GetArrayIndicesAsString (int[] indices);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetArrayIndicesAsString(int32[] indices) cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesAsString(System.Int32[])" />
<MemberSignature Language="F#" Value="static member GetArrayIndicesAsString : int[] -> string" Usage="NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesAsString indices" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="indices" Type="System.Int32[]" />
</Parameters>
<Docs>
<param name="indices">Array of indices for which a string is needed</param>
<summary>
Return the a string representation for a set of indices into an array
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetArrayIndicesFromCollectionIndex">
<MemberSignature Language="C#" Value="public static int[] GetArrayIndicesFromCollectionIndex (System.Collections.IEnumerable collection, int index);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32[] GetArrayIndicesFromCollectionIndex(class System.Collections.IEnumerable collection, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesFromCollectionIndex(System.Collections.IEnumerable,System.Int32)" />
<MemberSignature Language="F#" Value="static member GetArrayIndicesFromCollectionIndex : System.Collections.IEnumerable * int -> int[]" Usage="NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesFromCollectionIndex (collection, index)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="collection" Type="System.Collections.IEnumerable" />
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="collection">To be added.</param>
<param name="index">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetTypeRepresentation">
<MemberSignature Language="C#" Value="public static string GetTypeRepresentation (object obj);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetTypeRepresentation(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:NUnit.Framework.Constraints.MsgUtils.GetTypeRepresentation(System.Object)" />
<MemberSignature Language="F#" Value="static member GetTypeRepresentation : obj -> string" Usage="NUnit.Framework.Constraints.MsgUtils.GetTypeRepresentation obj" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.6.0.0</AssemblyVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyName>MonoTouch.NUnitLite</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" />
</Parameters>
<Docs>
<param name="obj">
</param>
<summary>
Returns the representation of a type as used in NUnitLite.
This is the same as Type.ToString() except for arrays,
which are displayed with their declared sizes.
</summary>
<returns />
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>