fakeiteasy 1.0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/FakeItEasy.BackwardsCompatibility.dll +0 -0
- data/lib/FakeItEasy.BackwardsCompatibility.xml +201 -0
- data/lib/FakeItEasy.dll +0 -0
- data/lib/FakeItEasy.xml +2919 -0
- data/lib/License.txt +56 -0
- metadata +72 -0
Binary file
|
@@ -0,0 +1,201 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>FakeItEasy.BackwardsCompatibility</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="T:FakeItEasy.Configure">
|
8
|
+
<summary>
|
9
|
+
Provides configuration of faked objects.
|
10
|
+
</summary>
|
11
|
+
</member>
|
12
|
+
<member name="M:FakeItEasy.Configure.Fake``1(``0)">
|
13
|
+
<summary>
|
14
|
+
Gets a configuration for the specified faked object.
|
15
|
+
</summary>
|
16
|
+
<typeparam name="TFake">The type of the fake.</typeparam>
|
17
|
+
<param name="fakedObject">The faked object to configure.</param>
|
18
|
+
<returns>A configuration object.</returns>
|
19
|
+
<exception cref="T:System.ArgumentException">The specified object is not a faked object.</exception>
|
20
|
+
<exception cref="T:System.ArgumentNullException">The fakedObject parameter was null.</exception>
|
21
|
+
</member>
|
22
|
+
<member name="T:FakeItEasy.Assertion.FakeAssertions`1">
|
23
|
+
<summary>
|
24
|
+
Provides assertions for fake objects.
|
25
|
+
</summary>
|
26
|
+
<typeparam name="TFake">The type of the fake.</typeparam>
|
27
|
+
</member>
|
28
|
+
<member name="T:FakeItEasy.Assertion.IFakeAssertions`1">
|
29
|
+
<summary>
|
30
|
+
Provides methods for asserting on fake object calls.
|
31
|
+
</summary>
|
32
|
+
<typeparam name="TFake">The type of the fake.</typeparam>
|
33
|
+
</member>
|
34
|
+
<member name="M:FakeItEasy.Assertion.IFakeAssertions`1.WasCalled(System.Linq.Expressions.Expression{System.Action{`0}})">
|
35
|
+
<summary>
|
36
|
+
Throws an exception if the specified call has not been called.
|
37
|
+
</summary>
|
38
|
+
<param name="callSpecification"></param>
|
39
|
+
</member>
|
40
|
+
<member name="M:FakeItEasy.Assertion.IFakeAssertions`1.WasCalled(System.Linq.Expressions.Expression{System.Action{`0}},System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}})">
|
41
|
+
<summary>
|
42
|
+
Asserts that the specified call was called the number of times that is validated by the
|
43
|
+
repeatValidation predicate passed to the method.
|
44
|
+
</summary>
|
45
|
+
<param name="callSpecification">The call to assert on.</param>
|
46
|
+
<param name="repeatValidation">A lambda predicate validating that will be passed the number of times
|
47
|
+
the specified call was invoked and returns true for a valid repeat.</param>
|
48
|
+
</member>
|
49
|
+
<member name="M:FakeItEasy.Assertion.IFakeAssertions`1.WasCalled``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
|
50
|
+
<summary>
|
51
|
+
Throws an exception if the specified call has not been called.
|
52
|
+
</summary>
|
53
|
+
<typeparam name="TMember">The type of return values from the function that is asserted upon.</typeparam>
|
54
|
+
<param name="callSpecification">An expression describing the call to assert that has been called.</param>
|
55
|
+
</member>
|
56
|
+
<member name="M:FakeItEasy.Assertion.IFakeAssertions`1.WasCalled``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}})">
|
57
|
+
<summary>
|
58
|
+
Asserts that the specified call was called the number of times that is validated by the
|
59
|
+
repeatValidation predicate passed to the method.
|
60
|
+
</summary>
|
61
|
+
<param name="callSpecification">The call to assert on.</param>
|
62
|
+
<param name="repeatValidation">A lambda predicate validating that will be passed the number of times
|
63
|
+
the specified call was invoked and returns true for a valid repeat.</param>
|
64
|
+
</member>
|
65
|
+
<member name="M:FakeItEasy.Assertion.IFakeAssertions`1.WasNotCalled(System.Linq.Expressions.Expression{System.Action{`0}})">
|
66
|
+
<summary>
|
67
|
+
Asserts that the specified call was not made within the current scope.
|
68
|
+
</summary>
|
69
|
+
<param name="callSpecification">The call that should not have been made.</param>
|
70
|
+
</member>
|
71
|
+
<member name="M:FakeItEasy.Assertion.IFakeAssertions`1.WasNotCalled``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
|
72
|
+
<summary>
|
73
|
+
Asserts that the specified call was not made within the current scope.
|
74
|
+
</summary>
|
75
|
+
<param name="callSpecification">The call that should not have been made.</param>
|
76
|
+
</member>
|
77
|
+
<member name="F:FakeItEasy.Assertion.FakeAssertions`1.callMatcherFactory">
|
78
|
+
<summary>
|
79
|
+
The injected call matcher factory.
|
80
|
+
</summary>
|
81
|
+
</member>
|
82
|
+
<member name="F:FakeItEasy.Assertion.FakeAssertions`1.fakeAsserterFactory">
|
83
|
+
<summary>
|
84
|
+
The injected fake asserter factory.
|
85
|
+
</summary>
|
86
|
+
</member>
|
87
|
+
<member name="F:FakeItEasy.Assertion.FakeAssertions`1.fake">
|
88
|
+
<summary>
|
89
|
+
The fake to do assertions for.
|
90
|
+
</summary>
|
91
|
+
</member>
|
92
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.#ctor(FakeItEasy.Core.FakeObject,FakeItEasy.Expressions.IExpressionCallMatcherFactory,FakeItEasy.Core.FakeAsserter.Factory)">
|
93
|
+
<summary>
|
94
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Assertion.FakeAssertions`1"/> class.
|
95
|
+
</summary>
|
96
|
+
<param name="fake">The fake.</param>
|
97
|
+
<param name="callMatcherFactory">The call matcher factory.</param>
|
98
|
+
<param name="fakeAsserterFactory">The fake asserter factory.</param>
|
99
|
+
</member>
|
100
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.WasCalled(System.Linq.Expressions.Expression{System.Action{`0}})">
|
101
|
+
<summary>
|
102
|
+
Throws an exception if the specified call has not been called.
|
103
|
+
</summary>
|
104
|
+
<param name="callSpecification"></param>
|
105
|
+
</member>
|
106
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.WasCalled(System.Linq.Expressions.Expression{System.Action{`0}},System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}})">
|
107
|
+
<summary>
|
108
|
+
Asserts that the specified call was called the number of times that is validated by the
|
109
|
+
repeatValidation predicate passed to the method.
|
110
|
+
</summary>
|
111
|
+
<param name="callSpecification">The call to assert on.</param>
|
112
|
+
<param name="repeatValidation">A lambda predicate validating that will be passed the number of times
|
113
|
+
the specified call was invoked and returns true for a valid repeat.</param>
|
114
|
+
</member>
|
115
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.WasCalled``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
|
116
|
+
<summary>
|
117
|
+
Throws an exception if the specified call has not been called.
|
118
|
+
</summary>
|
119
|
+
<typeparam name="TMember">The type of return values from the function that is asserted upon.</typeparam>
|
120
|
+
<param name="callSpecification">An expression describing the call to assert that has been called.</param>
|
121
|
+
</member>
|
122
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.WasCalled``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}})">
|
123
|
+
<summary>
|
124
|
+
Asserts that the specified call was called the number of times that is validated by the
|
125
|
+
repeatValidation predicate passed to the method.
|
126
|
+
</summary>
|
127
|
+
<param name="callSpecification">The call to assert on.</param>
|
128
|
+
<param name="repeatValidation">A lambda predicate validating that will be passed the number of times
|
129
|
+
the specified call was invoked and returns true for a valid repeat.</param>
|
130
|
+
</member>
|
131
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.WasNotCalled(System.Linq.Expressions.Expression{System.Action{`0}})">
|
132
|
+
<summary>
|
133
|
+
Asserts that the specified call was not made within the current scope.
|
134
|
+
</summary>
|
135
|
+
<param name="callSpecification">The call that should not have been made.</param>
|
136
|
+
</member>
|
137
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.WasNotCalled``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
|
138
|
+
<summary>
|
139
|
+
Asserts that the specified call was not made within the current scope.
|
140
|
+
</summary>
|
141
|
+
<param name="callSpecification">The call that should not have been made.</param>
|
142
|
+
</member>
|
143
|
+
<member name="M:FakeItEasy.Assertion.FakeAssertions`1.FakeItEasy#Configuration#IHideObjectMembers#GetType">
|
144
|
+
<summary>
|
145
|
+
Provides assertions for fake objects.
|
146
|
+
</summary>
|
147
|
+
<typeparam name="TFake">The type of the fake.</typeparam>
|
148
|
+
</member>
|
149
|
+
<member name="T:FakeItEasy.ExtensionSyntax.Full.FullExtensionSyntaxCompatibilityExtensions">
|
150
|
+
<summary>
|
151
|
+
Provides methods for the full extension syntax.
|
152
|
+
</summary>
|
153
|
+
</member>
|
154
|
+
<member name="M:FakeItEasy.ExtensionSyntax.Full.FullExtensionSyntaxCompatibilityExtensions.Assert``1(``0)">
|
155
|
+
<summary>
|
156
|
+
Gets an object that provides assertions for the specified fake object.
|
157
|
+
</summary>
|
158
|
+
<typeparam name="TFake">The type of the fake object.</typeparam>
|
159
|
+
<param name="fakedObject">The fake object to get assertions for.</param>
|
160
|
+
<returns>An assertion object.</returns>
|
161
|
+
<exception cref="T:System.ArgumentException">The object passed in is not a faked object.</exception>
|
162
|
+
</member>
|
163
|
+
<member name="M:FakeItEasy.Happened.Times(System.Int32)">
|
164
|
+
<summary>
|
165
|
+
Asserts that a call has happened the specified number of times
|
166
|
+
or more.
|
167
|
+
</summary>
|
168
|
+
<param name="numberOfTimes">The number of times the call must have happened.</param>
|
169
|
+
<returns>A HappenedNoUpperBound instance.</returns>
|
170
|
+
</member>
|
171
|
+
<member name="M:FakeItEasy.Happened.Like(System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}})">
|
172
|
+
<summary>
|
173
|
+
Specifies that a call must have been repeated a number of times
|
174
|
+
that is validated by the specified repeatValidation argument.
|
175
|
+
</summary>
|
176
|
+
<param name="repeatValidation">A predicate that specifies the number of times
|
177
|
+
a call must have been made.</param>
|
178
|
+
<returns>A Repeated-instance.</returns>
|
179
|
+
</member>
|
180
|
+
<member name="P:FakeItEasy.Happened.Never">
|
181
|
+
<summary>
|
182
|
+
Asserts that a call has not happened at all.
|
183
|
+
</summary>
|
184
|
+
</member>
|
185
|
+
<member name="P:FakeItEasy.Happened.Once">
|
186
|
+
<summary>
|
187
|
+
Asserts that a call has happened once or more.
|
188
|
+
</summary>
|
189
|
+
</member>
|
190
|
+
<member name="P:FakeItEasy.Happened.Twice">
|
191
|
+
<summary>
|
192
|
+
Asserts that a call has happend twice or more.
|
193
|
+
</summary>
|
194
|
+
</member>
|
195
|
+
<member name="T:FakeItEasy.OldFake">
|
196
|
+
<summary>
|
197
|
+
Provides backwards compatibility methods for the FakeItEasy.Fake-class.
|
198
|
+
</summary>
|
199
|
+
</member>
|
200
|
+
</members>
|
201
|
+
</doc>
|
data/lib/FakeItEasy.dll
ADDED
Binary file
|
data/lib/FakeItEasy.xml
ADDED
@@ -0,0 +1,2919 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>FakeItEasy</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="T:FakeItEasy.A">
|
8
|
+
<summary>
|
9
|
+
Provides methods for generating fake objects.
|
10
|
+
</summary>
|
11
|
+
</member>
|
12
|
+
<member name="M:FakeItEasy.A.Fake``1">
|
13
|
+
<summary>
|
14
|
+
Creates a fake object of the type T.
|
15
|
+
</summary>
|
16
|
+
<typeparam name="T">The type of fake object to create.</typeparam>
|
17
|
+
<returns>A fake object.</returns>
|
18
|
+
</member>
|
19
|
+
<member name="M:FakeItEasy.A.Fake``1(System.Action{FakeItEasy.Core.Creation.IFakeOptionsBuilder{``0}})">
|
20
|
+
<summary>
|
21
|
+
Creates a fake object of the type T.
|
22
|
+
</summary>
|
23
|
+
<typeparam name="T">The type of fake object to create.</typeparam>
|
24
|
+
<param name="options">A lambda where options for the built fake object cna be specified.</param>
|
25
|
+
<returns>A fake object.</returns>
|
26
|
+
</member>
|
27
|
+
<member name="M:FakeItEasy.A.CollectionOfFake``1(System.Int32)">
|
28
|
+
<summary>
|
29
|
+
Creates a collection of fakes of the specified type.
|
30
|
+
</summary>
|
31
|
+
<typeparam name="T">The type of fakes to create.</typeparam>
|
32
|
+
<param name="numberOfFakes">The number of fakes in the collection.</param>
|
33
|
+
<returns>A collection of fake objects of the specified type.</returns>
|
34
|
+
</member>
|
35
|
+
<member name="M:FakeItEasy.A.Dummy``1">
|
36
|
+
<summary>
|
37
|
+
Gets a dummy object of the specified type. The value of a dummy object
|
38
|
+
should be irrelevant. Dummy objects should not be configured.
|
39
|
+
</summary>
|
40
|
+
<typeparam name="T">The type of dummy to return.</typeparam>
|
41
|
+
<returns>A dummy object of the specified type.</returns>
|
42
|
+
<exception cref="T:System.ArgumentException">Dummies of the specified type can not be created.</exception>
|
43
|
+
</member>
|
44
|
+
<member name="M:FakeItEasy.A.Equals(System.Object,System.Object)">
|
45
|
+
<summary>
|
46
|
+
Gets a value indicating if the two objects are equal.
|
47
|
+
</summary>
|
48
|
+
<param name="objA">The first object to compare.</param>
|
49
|
+
<param name="objB">The second object to compare.</param>
|
50
|
+
<returns>True if the two objects are equal.</returns>
|
51
|
+
</member>
|
52
|
+
<member name="M:FakeItEasy.A.ReferenceEquals(System.Object,System.Object)">
|
53
|
+
<summary>
|
54
|
+
Gets a value indicating if the two objects are the same reference.
|
55
|
+
</summary>
|
56
|
+
<param name="objA">The obj A.</param>
|
57
|
+
<param name="objB">The obj B.</param>
|
58
|
+
<returns>True if the objects are the same reference.</returns>
|
59
|
+
</member>
|
60
|
+
<member name="M:FakeItEasy.A.CallTo(System.Linq.Expressions.Expression{System.Action})">
|
61
|
+
<summary>
|
62
|
+
Configures a call to a faked object.
|
63
|
+
</summary>
|
64
|
+
<param name="callSpecification">An expression where the configured memeber is called.</param>
|
65
|
+
<returns>A configuration object.</returns>
|
66
|
+
</member>
|
67
|
+
<member name="M:FakeItEasy.A.CallTo``1(System.Linq.Expressions.Expression{System.Func{``0}})">
|
68
|
+
<summary>
|
69
|
+
Configures a call to a faked object.
|
70
|
+
</summary>
|
71
|
+
<typeparam name="T">The type of member on the faked object to configure.</typeparam>
|
72
|
+
<param name="callSpecification">An expression where the configured memeber is called.</param>
|
73
|
+
<returns>A configuration object.</returns>
|
74
|
+
</member>
|
75
|
+
<member name="T:FakeItEasy.A`1">
|
76
|
+
<summary>
|
77
|
+
Provides an api entry point for validating arguments of fake object calls.
|
78
|
+
</summary>
|
79
|
+
<typeparam name="T">The type of argument to validate.</typeparam>
|
80
|
+
</member>
|
81
|
+
<member name="P:FakeItEasy.A`1.That">
|
82
|
+
<summary>
|
83
|
+
Gets an argument validations object that provides validations for the argument.
|
84
|
+
</summary>
|
85
|
+
</member>
|
86
|
+
<member name="P:FakeItEasy.A`1.Ignored">
|
87
|
+
<summary>
|
88
|
+
Returns a constraint that considers any value of an argument as valid.
|
89
|
+
</summary>
|
90
|
+
</member>
|
91
|
+
<member name="T:FakeItEasy.Any">
|
92
|
+
<summary>
|
93
|
+
Provides configuration for any (not a specific) call on a faked object.
|
94
|
+
</summary>
|
95
|
+
</member>
|
96
|
+
<member name="M:FakeItEasy.Any.CallTo``1(``0)">
|
97
|
+
<summary>
|
98
|
+
Gets a configuration object allowing for further configuration of
|
99
|
+
any calll to the specified faked object.
|
100
|
+
</summary>
|
101
|
+
<typeparam name="TFake">The type of fake object.</typeparam>
|
102
|
+
<param name="fakedObject">The faked object to configure.</param>
|
103
|
+
<returns>A configuration object.</returns>
|
104
|
+
</member>
|
105
|
+
<member name="M:FakeItEasy.Any.Equals(System.Object,System.Object)">
|
106
|
+
<summary>
|
107
|
+
Gets a value indicating if the two objects are equal.
|
108
|
+
</summary>
|
109
|
+
<param name="objA">The first object to compare.</param>
|
110
|
+
<param name="objB">The second object to compare.</param>
|
111
|
+
<returns>True if the two objects are equal.</returns>
|
112
|
+
</member>
|
113
|
+
<member name="M:FakeItEasy.Any.ReferenceEquals(System.Object,System.Object)">
|
114
|
+
<summary>
|
115
|
+
Gets a value indicating if the two objects are the same reference.
|
116
|
+
</summary>
|
117
|
+
<param name="objA">The obj A.</param>
|
118
|
+
<param name="objB">The obj B.</param>
|
119
|
+
<returns>True if the objects are the same reference.</returns>
|
120
|
+
</member>
|
121
|
+
<member name="T:FakeItEasy.Configuration.IAnyCallConfiguration">
|
122
|
+
<summary>
|
123
|
+
Configuration for any call to a faked object.
|
124
|
+
</summary>
|
125
|
+
</member>
|
126
|
+
<member name="T:FakeItEasy.Configuration.IVoidConfiguration">
|
127
|
+
<summary>
|
128
|
+
Provides configuration methods for methods that does not have a return value.
|
129
|
+
</summary>
|
130
|
+
</member>
|
131
|
+
<member name="T:FakeItEasy.Configuration.IExceptionThrowerConfiguration">
|
132
|
+
<summary>
|
133
|
+
Configuration that lets the developer specify that an exception should be
|
134
|
+
thrown by a fake object call.
|
135
|
+
</summary>
|
136
|
+
</member>
|
137
|
+
<member name="T:FakeItEasy.Configuration.IHideObjectMembers">
|
138
|
+
<summary>
|
139
|
+
Hides standard Object members to make fluent interfaces
|
140
|
+
easier to read. Found in the source of Autofac: http://code.google.com/p/autofac/
|
141
|
+
Based on blog post by @kzu here:
|
142
|
+
http://www.clariusconsulting.net/blogs/kzu/archive/2008/03/10/58301.aspx
|
143
|
+
</summary>
|
144
|
+
</member>
|
145
|
+
<member name="M:FakeItEasy.Configuration.IHideObjectMembers.ToString">
|
146
|
+
<summary>
|
147
|
+
Hides the ToString-method.
|
148
|
+
</summary>
|
149
|
+
<returns>A string representation of the implementing object.</returns>
|
150
|
+
</member>
|
151
|
+
<member name="M:FakeItEasy.Configuration.IHideObjectMembers.Equals(System.Object)">
|
152
|
+
<summary>
|
153
|
+
Determines whether the specified <see cref="T:System.Object"/> is equal to this instance.
|
154
|
+
</summary>
|
155
|
+
<param name="o">The <see cref="T:System.Object"/> to compare with this instance.</param>
|
156
|
+
<returns>
|
157
|
+
<c>true</c> if the specified <see cref="T:System.Object"/> is equal to this instance; otherwise, <c>false</c>.
|
158
|
+
</returns>
|
159
|
+
</member>
|
160
|
+
<member name="M:FakeItEasy.Configuration.IHideObjectMembers.GetHashCode">
|
161
|
+
<summary>
|
162
|
+
Returns a hash code for this instance.
|
163
|
+
</summary>
|
164
|
+
<returns>
|
165
|
+
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
|
166
|
+
</returns>
|
167
|
+
</member>
|
168
|
+
<member name="M:FakeItEasy.Configuration.IHideObjectMembers.GetType">
|
169
|
+
<summary>
|
170
|
+
Gets the type.
|
171
|
+
</summary>
|
172
|
+
<returns></returns>
|
173
|
+
</member>
|
174
|
+
<member name="M:FakeItEasy.Configuration.IExceptionThrowerConfiguration.Throws(System.Exception)">
|
175
|
+
<summary>
|
176
|
+
Throws the specified exception when the currently configured
|
177
|
+
call gets called.
|
178
|
+
</summary>
|
179
|
+
<param name="exception">The exception to throw.</param>
|
180
|
+
<returns>Configuration object.</returns>
|
181
|
+
</member>
|
182
|
+
<member name="T:FakeItEasy.Configuration.ICallbackConfiguration`1">
|
183
|
+
<summary>
|
184
|
+
Configuration for callbacks of fake object calls.
|
185
|
+
</summary>
|
186
|
+
<typeparam name="TInterface">The type of interface to return.</typeparam>
|
187
|
+
</member>
|
188
|
+
<member name="M:FakeItEasy.Configuration.ICallbackConfiguration`1.Invokes(System.Action{FakeItEasy.Core.IFakeObjectCall})">
|
189
|
+
<summary>
|
190
|
+
Executes the specified action when a matching call is being made.
|
191
|
+
</summary>
|
192
|
+
<param name="action">The action to invoke.</param>
|
193
|
+
<returns>A configuration object.</returns>
|
194
|
+
</member>
|
195
|
+
<member name="T:FakeItEasy.Configuration.ICallBaseConfiguration">
|
196
|
+
<summary>
|
197
|
+
Configuration that lets you specify that a fake object call should call it's base method.
|
198
|
+
</summary>
|
199
|
+
</member>
|
200
|
+
<member name="M:FakeItEasy.Configuration.ICallBaseConfiguration.CallsBaseMethod">
|
201
|
+
<summary>
|
202
|
+
When the configured method or methods are called the call
|
203
|
+
will be delegated to the base method of the faked method.
|
204
|
+
</summary>
|
205
|
+
<returns>A configuration object.</returns>
|
206
|
+
<exception cref="T:System.InvalidOperationException">The fake object is of an abstract type or an interface
|
207
|
+
and no base method exists.</exception>
|
208
|
+
</member>
|
209
|
+
<member name="T:FakeItEasy.Configuration.IOutAndRefParametersConfiguration">
|
210
|
+
<summary>
|
211
|
+
Lets the developer configure output values of out and ref parameters.
|
212
|
+
</summary>
|
213
|
+
</member>
|
214
|
+
<member name="M:FakeItEasy.Configuration.IOutAndRefParametersConfiguration.AssignsOutAndRefParameters(System.Object[])">
|
215
|
+
<summary>
|
216
|
+
Specifies output values for out and ref parameters. Specify the values in the order
|
217
|
+
the ref and out parameters has in the configured call, any non out and ref parameters are ignored.
|
218
|
+
</summary>
|
219
|
+
<param name="values">The values.</param>
|
220
|
+
<returns>A configuration object.</returns>
|
221
|
+
</member>
|
222
|
+
<member name="T:FakeItEasy.Configuration.IAssertConfiguration">
|
223
|
+
<summary>
|
224
|
+
Allows the developer to assert on a call that's configured.
|
225
|
+
</summary>
|
226
|
+
</member>
|
227
|
+
<member name="M:FakeItEasy.Configuration.IAssertConfiguration.MustHaveHappened(FakeItEasy.Repeated)">
|
228
|
+
<summary>
|
229
|
+
Asserts that the configured call has happened the number of times
|
230
|
+
constrained by the repeatConstraint parameter.
|
231
|
+
</summary>
|
232
|
+
<param name="repeatConstraint">A constraint for how many times the call
|
233
|
+
must have happened.</param>
|
234
|
+
<exception cref="T:FakeItEasy.ExpectationException">The call has not been called a number of times
|
235
|
+
that passes the repeat constraint.</exception>
|
236
|
+
</member>
|
237
|
+
<member name="M:FakeItEasy.Configuration.IVoidConfiguration.DoesNothing">
|
238
|
+
<summary>
|
239
|
+
Configures the specified call to do nothing when called.
|
240
|
+
</summary>
|
241
|
+
<returns>A configuration object.</returns>
|
242
|
+
</member>
|
243
|
+
<member name="M:FakeItEasy.Configuration.IAnyCallConfiguration.WithReturnType``1">
|
244
|
+
<summary>
|
245
|
+
Matches calls that has the return type specified in the generic type parameter.
|
246
|
+
</summary>
|
247
|
+
<typeparam name="TMember">The return type of the members to configure.</typeparam>
|
248
|
+
<returns>A configuration object.</returns>
|
249
|
+
</member>
|
250
|
+
<member name="T:FakeItEasy.Core.ApplicationDirectoryAssembliesTypeAccessor">
|
251
|
+
<summary>
|
252
|
+
Access all types in all assemblies in the same directory as the FakeItEasy dll.
|
253
|
+
</summary>
|
254
|
+
</member>
|
255
|
+
<member name="T:FakeItEasy.Core.ITypeAccessor">
|
256
|
+
<summary>
|
257
|
+
Provides a set of types that are available.
|
258
|
+
</summary>
|
259
|
+
</member>
|
260
|
+
<member name="M:FakeItEasy.Core.ITypeAccessor.GetAvailableTypes">
|
261
|
+
<summary>
|
262
|
+
Gets a collection of available types.
|
263
|
+
</summary>
|
264
|
+
<returns>The available types.</returns>
|
265
|
+
</member>
|
266
|
+
<member name="M:FakeItEasy.Core.ApplicationDirectoryAssembliesTypeAccessor.#ctor">
|
267
|
+
<summary>
|
268
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.ApplicationDirectoryAssembliesTypeAccessor"/> class.
|
269
|
+
</summary>
|
270
|
+
</member>
|
271
|
+
<member name="M:FakeItEasy.Core.ApplicationDirectoryAssembliesTypeAccessor.GetAvailableTypes">
|
272
|
+
<summary>
|
273
|
+
Gets a collection of available types.
|
274
|
+
</summary>
|
275
|
+
<returns>The available types.</returns>
|
276
|
+
</member>
|
277
|
+
<member name="T:FakeItEasy.Core.Creation.DefaultFakeCreator">
|
278
|
+
<summary>
|
279
|
+
Default implementation ofthe IFakeCreator-interface.
|
280
|
+
</summary>
|
281
|
+
</member>
|
282
|
+
<member name="T:FakeItEasy.Core.Creation.IFakeCreator">
|
283
|
+
<summary>
|
284
|
+
A facade used by the public api for testability.
|
285
|
+
</summary>
|
286
|
+
</member>
|
287
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeCreator.CreateFake``1(System.Action{FakeItEasy.Core.Creation.IFakeOptionsBuilder{``0}})">
|
288
|
+
<summary>
|
289
|
+
Creates a fake object of the specified type.
|
290
|
+
</summary>
|
291
|
+
<typeparam name="T">The type of fake to create.</typeparam>
|
292
|
+
<param name="options">Options for the created fake object.</param>
|
293
|
+
<returns>The created fake object.</returns>
|
294
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">Was unable to generate the fake in the current configuration.</exception>
|
295
|
+
</member>
|
296
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeCreator.CreateDummy``1">
|
297
|
+
<summary>
|
298
|
+
Creates a dummy object, this can be a fake object or an object resolved
|
299
|
+
from the current IFakeObjectContainer.
|
300
|
+
</summary>
|
301
|
+
<typeparam name="T">The type of dummy to create.</typeparam>
|
302
|
+
<returns>The created dummy.</returns>
|
303
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">Was unable to generate the fake in the current configuration and
|
304
|
+
no dummy was registered in the container for the specifed type..</exception>
|
305
|
+
</member>
|
306
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeCreator.CollectionOfFake``1(System.Int32)">
|
307
|
+
<summary>
|
308
|
+
Creates a collection of fakes of the specified type.
|
309
|
+
</summary>
|
310
|
+
<typeparam name="T">The type of fakes to create.</typeparam>
|
311
|
+
<param name="numberOfFakes">The number of fakes in the collection.</param>
|
312
|
+
<returns>A collection of fake objects of the specified type.</returns>
|
313
|
+
</member>
|
314
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeCreator.#ctor(FakeItEasy.Core.Creation.IFakeAndDummyManager)">
|
315
|
+
<summary>
|
316
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.Creation.DefaultFakeCreator"/> class.
|
317
|
+
</summary>
|
318
|
+
<param name="fakeAndDummyManager">The fake and dummy manager.</param>
|
319
|
+
</member>
|
320
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeCreator.CreateFake``1(System.Action{FakeItEasy.Core.Creation.IFakeOptionsBuilder{``0}})">
|
321
|
+
<summary>
|
322
|
+
Creates a fake object of the specified type.
|
323
|
+
</summary>
|
324
|
+
<typeparam name="T">The type of fake to create.</typeparam>
|
325
|
+
<param name="options">Options for the created fake object.</param>
|
326
|
+
<returns>The created fake object.</returns>
|
327
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">Was unable to generate the fake in the current configuration.</exception>
|
328
|
+
</member>
|
329
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeCreator.CollectionOfFake``1(System.Int32)">
|
330
|
+
<summary>
|
331
|
+
Creates a collection of fakes of the specified type.
|
332
|
+
</summary>
|
333
|
+
<typeparam name="T">The type of fakes to create.</typeparam>
|
334
|
+
<param name="numberOfFakes">The number of fakes in the collection.</param>
|
335
|
+
<returns>
|
336
|
+
A collection of fake objects of the specified type.
|
337
|
+
</returns>
|
338
|
+
</member>
|
339
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeCreator.CreateDummy``1">
|
340
|
+
<summary>
|
341
|
+
Creates a dummy object, this can be a fake object or an object resolved
|
342
|
+
from the current IFakeObjectContainer.
|
343
|
+
</summary>
|
344
|
+
<typeparam name="T">The type of dummy to create.</typeparam>
|
345
|
+
<returns>The created dummy.</returns>
|
346
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">Was unable to generate the fake in the current configuration and
|
347
|
+
no dummy was registered in the container for the specifed type..</exception>
|
348
|
+
</member>
|
349
|
+
<member name="T:FakeItEasy.Core.Creation.IFakeOptionsBuilderForWrappers`1">
|
350
|
+
<summary>
|
351
|
+
Provides options for fake wrappers.
|
352
|
+
</summary>
|
353
|
+
<typeparam name="T">The type of the fake object generated.</typeparam>
|
354
|
+
</member>
|
355
|
+
<member name="T:FakeItEasy.Core.Creation.IFakeOptionsBuilder`1">
|
356
|
+
<summary>
|
357
|
+
Provides options for generating fake object.
|
358
|
+
</summary>
|
359
|
+
<typeparam name="T">The type of fake object generated.</typeparam>
|
360
|
+
</member>
|
361
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeOptionsBuilder`1.WithArgumentsForConstructor(System.Collections.Generic.IEnumerable{System.Object})">
|
362
|
+
<summary>
|
363
|
+
Specifies arguments for the constructor of the faked class.
|
364
|
+
</summary>
|
365
|
+
<param name="argumentsForConstructor">The arguments to pass to the consturctor of the faked class.</param>
|
366
|
+
<returns>Options object.</returns>
|
367
|
+
</member>
|
368
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeOptionsBuilder`1.WithArgumentsForConstructor(System.Linq.Expressions.Expression{System.Func{`0}})">
|
369
|
+
<summary>
|
370
|
+
Specifies arguments for the constructor of the faked class by giving an expression with the call to
|
371
|
+
the desired constructor using the arguments to be passed to the constructor.
|
372
|
+
</summary>
|
373
|
+
<param name="constructorCall">The constructor call to use when creating a class proxy.</param>
|
374
|
+
<returns>Options object.</returns>
|
375
|
+
</member>
|
376
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeOptionsBuilder`1.Wrapping(`0)">
|
377
|
+
<summary>
|
378
|
+
Specifies that the fake should delegate calls to the specified instance.
|
379
|
+
</summary>
|
380
|
+
<param name="wrappedInstance">The object to delegate calls to.</param>
|
381
|
+
<returns>Options object.</returns>
|
382
|
+
</member>
|
383
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeOptionsBuilder`1.Implements(System.Type)">
|
384
|
+
<summary>
|
385
|
+
Sets up the fake to implement the specified interface in addition to the
|
386
|
+
originally faked class.
|
387
|
+
</summary>
|
388
|
+
<param name="interfaceType">The type of interface to implement.</param>
|
389
|
+
<returns>Options object.</returns>
|
390
|
+
<exception cref="T:System.ArgumentException">The specified type is not an interface.</exception>
|
391
|
+
<exception cref="T:System.ArgumentNullException">The specified type is null.</exception>
|
392
|
+
</member>
|
393
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeOptionsBuilderForWrappers`1.RecordedBy(FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder)">
|
394
|
+
<summary>
|
395
|
+
Specifies a fake recorder to use.
|
396
|
+
</summary>
|
397
|
+
<param name="recorder">The recorder to use.</param>
|
398
|
+
<returns>Options object.</returns>
|
399
|
+
</member>
|
400
|
+
<member name="T:FakeItEasy.Core.DefaultFakeWrapperConfigurator">
|
401
|
+
<summary>
|
402
|
+
Handles configuring of fake objects to delegate all their calls to a wrapped instance.
|
403
|
+
</summary>
|
404
|
+
</member>
|
405
|
+
<member name="T:FakeItEasy.Core.IFakeWrapperConfigurator">
|
406
|
+
<summary>
|
407
|
+
Manages configuration of fake objects to wrap instances.
|
408
|
+
</summary>
|
409
|
+
</member>
|
410
|
+
<member name="M:FakeItEasy.Core.IFakeWrapperConfigurator.ConfigureFakeToWrap(System.Object,System.Object,FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder)">
|
411
|
+
<summary>
|
412
|
+
Configures the specified faked object to wrap the specified instance.
|
413
|
+
</summary>
|
414
|
+
<param name="fakedObject">The faked object to configure.</param>
|
415
|
+
<param name="wrappedInstance">The instance to wrap.</param>
|
416
|
+
<param name="recorder">The recorder to use, null if no recording should be made.</param>
|
417
|
+
</member>
|
418
|
+
<member name="M:FakeItEasy.Core.DefaultFakeWrapperConfigurator.ConfigureFakeToWrap(System.Object,System.Object,FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder)">
|
419
|
+
<summary>
|
420
|
+
Configures the specified faked object to wrap the specified instance.
|
421
|
+
</summary>
|
422
|
+
<param name="fakedObject">The faked object to configure.</param>
|
423
|
+
<param name="wrappedInstance">The instance to wrap.</param>
|
424
|
+
<param name="recorder">The recorder to use, null if no recording should be made.</param>
|
425
|
+
</member>
|
426
|
+
<member name="T:FakeItEasy.Core.FakeConfigurator`1">
|
427
|
+
<summary>
|
428
|
+
Provides the base implementation for the IFakeConfigurator-interface.
|
429
|
+
</summary>
|
430
|
+
<typeparam name="T">The type of fakes the configurator can configure.</typeparam>
|
431
|
+
</member>
|
432
|
+
<member name="T:FakeItEasy.Core.IFakeConfigurator">
|
433
|
+
<summary>
|
434
|
+
Provides configurations for fake objects of a specific type.
|
435
|
+
</summary>
|
436
|
+
</member>
|
437
|
+
<member name="M:FakeItEasy.Core.IFakeConfigurator.ConfigureFake(System.Object)">
|
438
|
+
<summary>
|
439
|
+
Applies the configuration for the specified fake object.
|
440
|
+
</summary>
|
441
|
+
<param name="fakeObject">The fake object to configure.</param>
|
442
|
+
</member>
|
443
|
+
<member name="P:FakeItEasy.Core.IFakeConfigurator.ForType">
|
444
|
+
<summary>
|
445
|
+
The type the instance provides configuration for.
|
446
|
+
</summary>
|
447
|
+
</member>
|
448
|
+
<member name="M:FakeItEasy.Core.FakeConfigurator`1.FakeItEasy#Core#IFakeConfigurator#ConfigureFake(System.Object)">
|
449
|
+
<summary>
|
450
|
+
Applies the configuration for the specified fake object.
|
451
|
+
</summary>
|
452
|
+
<param name="fakeObject">The fake object to configure.</param>
|
453
|
+
</member>
|
454
|
+
<member name="M:FakeItEasy.Core.FakeConfigurator`1.AssertThatFakeIsOfCorrectType(System.Object)">
|
455
|
+
<summary>
|
456
|
+
Asserts the type of the that fake is of correct.
|
457
|
+
</summary>
|
458
|
+
<param name="fakeObject">The fake object.</param>
|
459
|
+
</member>
|
460
|
+
<member name="M:FakeItEasy.Core.FakeConfigurator`1.ConfigureFake(`0)">
|
461
|
+
<summary>
|
462
|
+
Configures the fake.
|
463
|
+
</summary>
|
464
|
+
<param name="fakeObject">The fake object.</param>
|
465
|
+
</member>
|
466
|
+
<member name="P:FakeItEasy.Core.FakeConfigurator`1.ForType">
|
467
|
+
<summary>
|
468
|
+
The type the instance provides configuration for.
|
469
|
+
</summary>
|
470
|
+
<value></value>
|
471
|
+
</member>
|
472
|
+
<member name="T:FakeItEasy.Core.DummyDefinition`1">
|
473
|
+
<summary>
|
474
|
+
Represents a definition of how a fake object of the type T should
|
475
|
+
be created.
|
476
|
+
</summary>
|
477
|
+
<typeparam name="T">The type of fake.</typeparam>
|
478
|
+
</member>
|
479
|
+
<member name="T:FakeItEasy.Core.IDummyDefinition">
|
480
|
+
<summary>
|
481
|
+
Represents a definition of how dummies of the specified type should be created.
|
482
|
+
</summary>
|
483
|
+
</member>
|
484
|
+
<member name="M:FakeItEasy.Core.IDummyDefinition.CreateFake">
|
485
|
+
<summary>
|
486
|
+
Creates the fake.
|
487
|
+
</summary>
|
488
|
+
<returns>The fake object.</returns>
|
489
|
+
</member>
|
490
|
+
<member name="P:FakeItEasy.Core.IDummyDefinition.ForType">
|
491
|
+
<summary>
|
492
|
+
The type of fake object the definition is for.
|
493
|
+
</summary>
|
494
|
+
</member>
|
495
|
+
<member name="M:FakeItEasy.Core.DummyDefinition`1.FakeItEasy#Core#IDummyDefinition#CreateFake">
|
496
|
+
<summary>
|
497
|
+
Creates the fake.
|
498
|
+
</summary>
|
499
|
+
<returns>The fake object.</returns>
|
500
|
+
</member>
|
501
|
+
<member name="M:FakeItEasy.Core.DummyDefinition`1.CreateFake">
|
502
|
+
<summary>
|
503
|
+
Creates the fake.
|
504
|
+
</summary>
|
505
|
+
<returns>The fake object.</returns>
|
506
|
+
</member>
|
507
|
+
<member name="P:FakeItEasy.Core.DummyDefinition`1.ForType">
|
508
|
+
<summary>
|
509
|
+
Gets the type the definition is for.
|
510
|
+
</summary>
|
511
|
+
<value>For type.</value>
|
512
|
+
</member>
|
513
|
+
<member name="T:FakeItEasy.Core.Creation.IProxyGeneratorFactory">
|
514
|
+
<summary>
|
515
|
+
Handles the creation of a IProxyGenerator instance.
|
516
|
+
</summary>
|
517
|
+
</member>
|
518
|
+
<member name="M:FakeItEasy.Core.Creation.IProxyGeneratorFactory.CreateProxyGenerator(FakeItEasy.Core.IFakeObjectContainer)">
|
519
|
+
<summary>
|
520
|
+
When implemented creates a new IProxyGenerator-instance.
|
521
|
+
</summary>
|
522
|
+
<param name="container">The IFakeObjectContainer provided by the FakeItEasy framework.</param>
|
523
|
+
<returns>A new IProxyGenerator.</returns>
|
524
|
+
</member>
|
525
|
+
<member name="T:FakeItEasy.Core.DelegateFakeObjectContainer">
|
526
|
+
<summary>
|
527
|
+
A fake object container where delegates can be registered that are used to
|
528
|
+
resolve fake objects.
|
529
|
+
</summary>
|
530
|
+
</member>
|
531
|
+
<member name="T:FakeItEasy.Core.IFakeObjectContainer">
|
532
|
+
<summary>
|
533
|
+
A container that can create fake objects.
|
534
|
+
</summary>
|
535
|
+
</member>
|
536
|
+
<member name="M:FakeItEasy.Core.IFakeObjectContainer.TryCreateFakeObject(System.Type,System.Object@)">
|
537
|
+
<summary>
|
538
|
+
Creates a fake object of the specified type using the specified arguments if it's
|
539
|
+
supported by the container, returns a value indicating if it's supported or not.
|
540
|
+
</summary>
|
541
|
+
<param name="typeOfFake">The type of fake object to create.</param>
|
542
|
+
<param name="fakeObject">The fake object that was created if the method returns true.</param>
|
543
|
+
<returns>True if a fake object can be created.</returns>
|
544
|
+
</member>
|
545
|
+
<member name="M:FakeItEasy.Core.IFakeObjectContainer.ConfigureFake(System.Type,System.Object)">
|
546
|
+
<summary>
|
547
|
+
Applies base configuration to a fake object.
|
548
|
+
</summary>
|
549
|
+
<param name="typeOfFake">The type the fake object represents.</param>
|
550
|
+
<param name="fakeObject">The fake object to configure.</param>
|
551
|
+
</member>
|
552
|
+
<member name="M:FakeItEasy.Core.DelegateFakeObjectContainer.#ctor">
|
553
|
+
<summary>
|
554
|
+
Creates a new instance of the DelegateFakeObjectContainer.
|
555
|
+
</summary>
|
556
|
+
</member>
|
557
|
+
<member name="M:FakeItEasy.Core.DelegateFakeObjectContainer.TryCreateFakeObject(System.Type,System.Object@)">
|
558
|
+
<summary>
|
559
|
+
Creates a fake object of the specified type using the specified arguments if it's
|
560
|
+
supported by the container, returns a value indicating if it's supported or not.
|
561
|
+
</summary>
|
562
|
+
<param name="typeOfFake">The type of fake object to create.</param>
|
563
|
+
<param name="fakeObject">The fake object that was created if the method returns true.</param>
|
564
|
+
<returns>True if a fake object can be created.</returns>
|
565
|
+
</member>
|
566
|
+
<member name="M:FakeItEasy.Core.DelegateFakeObjectContainer.Register``1(System.Func{``0})">
|
567
|
+
<summary>
|
568
|
+
Registers the specified fake delegate.
|
569
|
+
</summary>
|
570
|
+
<typeparam name="T"></typeparam>
|
571
|
+
<param name="fakeDelegate">The fake delegate.</param>
|
572
|
+
</member>
|
573
|
+
<member name="M:FakeItEasy.Core.DelegateFakeObjectContainer.ConfigureFake(System.Type,System.Object)">
|
574
|
+
<summary>
|
575
|
+
Configures the fake.
|
576
|
+
</summary>
|
577
|
+
<param name="typeOfFake">The type of fake.</param>
|
578
|
+
<param name="fakeObject">The fake object.</param>
|
579
|
+
</member>
|
580
|
+
<member name="T:FakeItEasy.Core.FakeCreationException">
|
581
|
+
<summary>
|
582
|
+
An exception that is thrown when there was an error creating a fake object.
|
583
|
+
</summary>
|
584
|
+
</member>
|
585
|
+
<member name="M:FakeItEasy.Core.FakeCreationException.#ctor">
|
586
|
+
<summary>
|
587
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.FakeCreationException"/> class.
|
588
|
+
</summary>
|
589
|
+
</member>
|
590
|
+
<member name="M:FakeItEasy.Core.FakeCreationException.#ctor(System.String)">
|
591
|
+
<summary>
|
592
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.FakeCreationException"/> class.
|
593
|
+
</summary>
|
594
|
+
<param name="message">The message.</param>
|
595
|
+
</member>
|
596
|
+
<member name="M:FakeItEasy.Core.FakeCreationException.#ctor(System.String,System.Exception)">
|
597
|
+
<summary>
|
598
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.FakeCreationException"/> class.
|
599
|
+
</summary>
|
600
|
+
<param name="message">The message.</param>
|
601
|
+
<param name="innerException">The inner exception.</param>
|
602
|
+
</member>
|
603
|
+
<member name="M:FakeItEasy.Core.FakeCreationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
604
|
+
<summary>
|
605
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.FakeCreationException"/> class.
|
606
|
+
</summary>
|
607
|
+
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
|
608
|
+
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
|
609
|
+
<exception cref="T:System.ArgumentNullException">
|
610
|
+
The <paramref name="info"/> parameter is null.
|
611
|
+
</exception>
|
612
|
+
<exception cref="T:System.Runtime.Serialization.SerializationException">
|
613
|
+
The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0).
|
614
|
+
</exception>
|
615
|
+
</member>
|
616
|
+
<member name="T:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager">
|
617
|
+
<summary>
|
618
|
+
The default implementation of the IFakeAndDummyManager interface.
|
619
|
+
</summary>
|
620
|
+
</member>
|
621
|
+
<member name="T:FakeItEasy.Core.Creation.IFakeAndDummyManager">
|
622
|
+
<summary>
|
623
|
+
Handles the creation of fake and dummy objects.
|
624
|
+
</summary>
|
625
|
+
</member>
|
626
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeAndDummyManager.CreateDummy(System.Type)">
|
627
|
+
<summary>
|
628
|
+
Creates a dummy of the specified type.
|
629
|
+
</summary>
|
630
|
+
<param name="typeOfDummy">The type of dummy to create.</param>
|
631
|
+
<returns>The created dummy.</returns>
|
632
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">The current IProxyGenerator is not able to generate a fake of the specified type and
|
633
|
+
the current IFakeObjectContainer does not contain the specified type.</exception>
|
634
|
+
</member>
|
635
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeAndDummyManager.CreateFake(System.Type,FakeItEasy.Core.Creation.FakeOptions)">
|
636
|
+
<summary>
|
637
|
+
Creates a fake object of the specified type.
|
638
|
+
</summary>
|
639
|
+
<param name="typeOfFake">The type of fake object to generate.</param>
|
640
|
+
<param name="options">Options for building the fake object.</param>
|
641
|
+
<returns>A fake object.</returns>
|
642
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">The current IProxyGenerator is not able to generate a fake of the specified type.</exception>
|
643
|
+
</member>
|
644
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeAndDummyManager.TryCreateDummy(System.Type,System.Object@)">
|
645
|
+
<summary>
|
646
|
+
Tries to create a dummy of the specified type.
|
647
|
+
</summary>
|
648
|
+
<param name="typeOfDummy">The type of dummy to create.</param>
|
649
|
+
<param name="result">Outputs the result dummy when creation is successful.</param>
|
650
|
+
<returns>A value indicating whether the creation was successful.</returns>
|
651
|
+
</member>
|
652
|
+
<member name="M:FakeItEasy.Core.Creation.IFakeAndDummyManager.TryCreateFake(System.Type,FakeItEasy.Core.Creation.FakeOptions,System.Object@)">
|
653
|
+
<summary>
|
654
|
+
Tries to create a fake object of the specified type.
|
655
|
+
</summary>
|
656
|
+
<param name="typeOfFake">The type of fake to create.</param>
|
657
|
+
<param name="options">Options for the creation of the fake.</param>
|
658
|
+
<param name="result">The created fake object when creation is successful.</param>
|
659
|
+
<returns>A value indicating whether the creation was successful.</returns>
|
660
|
+
</member>
|
661
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager.#ctor(FakeItEasy.Core.IFakeObjectContainer,FakeItEasy.Core.Creation.IProxyGenerator,FakeItEasy.Core.FakeObject.Factory,FakeItEasy.Core.IFakeWrapperConfigurator)">
|
662
|
+
<summary>
|
663
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager"/> class.
|
664
|
+
</summary>
|
665
|
+
<param name="container">The container.</param>
|
666
|
+
<param name="proxyGenerator">The proxy generator.</param>
|
667
|
+
<param name="fakeObjectFactory">The fake object factory.</param>
|
668
|
+
<param name="wrapperConfigurator">The wrapper configurator to use.</param>
|
669
|
+
</member>
|
670
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager.CreateDummy(System.Type)">
|
671
|
+
<summary>
|
672
|
+
Creates a dummy of the specified type.
|
673
|
+
</summary>
|
674
|
+
<param name="typeOfDummy">The type of dummy to create.</param>
|
675
|
+
<returns>The created dummy.</returns>
|
676
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">The current IProxyGenerator is not able to generate a fake of the specified type and
|
677
|
+
the current IFakeObjectContainer does not contain the specified type.</exception>
|
678
|
+
</member>
|
679
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager.CreateFake(System.Type,FakeItEasy.Core.Creation.FakeOptions)">
|
680
|
+
<summary>
|
681
|
+
Creates a fake object of the specified type.
|
682
|
+
</summary>
|
683
|
+
<param name="typeOfFake">The type of fake object to generate.</param>
|
684
|
+
<param name="options">Options for building the fake object.</param>
|
685
|
+
<returns>A fake object.</returns>
|
686
|
+
<exception cref="T:FakeItEasy.Core.FakeCreationException">The current IProxyGenerator is not able to generate a fake of the specified type.</exception>
|
687
|
+
</member>
|
688
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager.TryCreateDummy(System.Type,System.Object@)">
|
689
|
+
<summary>
|
690
|
+
Tries to create a dummy of the specified type.
|
691
|
+
</summary>
|
692
|
+
<param name="typeOfDummy">The type of dummy to create.</param>
|
693
|
+
<param name="result">Outputs the result dummy when creation is successful.</param>
|
694
|
+
<returns>
|
695
|
+
A value indicating whether the creation was successful.
|
696
|
+
</returns>
|
697
|
+
</member>
|
698
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager.TryCreateFake(System.Type,FakeItEasy.Core.Creation.FakeOptions,System.Object@)">
|
699
|
+
<summary>
|
700
|
+
Tries to create a fake object of the specified type.
|
701
|
+
</summary>
|
702
|
+
<param name="typeOfFake">The type of fake to create.</param>
|
703
|
+
<param name="options">Options for the creation of the fake.</param>
|
704
|
+
<param name="result">The created fake object when creation is successful.</param>
|
705
|
+
<returns>
|
706
|
+
A value indicating whether the creation was successful.
|
707
|
+
</returns>
|
708
|
+
</member>
|
709
|
+
<member name="M:FakeItEasy.Core.Creation.DefaultFakeAndDummyManager.CreateProxy(System.Type,System.Collections.Generic.IEnumerable{System.Type},System.Collections.Generic.IEnumerable{System.Object},System.Boolean)">
|
710
|
+
<summary>
|
711
|
+
Creates a proxy of the specified type.
|
712
|
+
</summary>
|
713
|
+
<param name="typeOfProxy">The type of proxy.</param>
|
714
|
+
<param name="additionalInterfacesToImplement">Any to implement additional to the specified type of proxy.</param>
|
715
|
+
<param name="argumentsForConstructor">The arguments for constructor.</param>
|
716
|
+
<param name="throwOnFailure">if set to <c>true</c> an exception is thrown when the proxy generator
|
717
|
+
can not generate a proxy of the specified type.</param>
|
718
|
+
<returns>A proxy.</returns>
|
719
|
+
</member>
|
720
|
+
<member name="T:FakeItEasy.Core.ICallCollectionAndCallMatcherAccessor">
|
721
|
+
<summary>
|
722
|
+
Provides access to a set of calls and a call matcher for these calls.
|
723
|
+
</summary>
|
724
|
+
</member>
|
725
|
+
<member name="P:FakeItEasy.Core.ICallCollectionAndCallMatcherAccessor.Calls">
|
726
|
+
<summary>
|
727
|
+
A set of calls.
|
728
|
+
</summary>
|
729
|
+
</member>
|
730
|
+
<member name="P:FakeItEasy.Core.ICallCollectionAndCallMatcherAccessor.Matcher">
|
731
|
+
<summary>
|
732
|
+
A matcher used to select among the calls.
|
733
|
+
</summary>
|
734
|
+
</member>
|
735
|
+
<member name="T:FakeItEasy.Core.ICallMatcher">
|
736
|
+
<summary>
|
737
|
+
Represents a predicate that matches a fake object call.
|
738
|
+
</summary>
|
739
|
+
</member>
|
740
|
+
<member name="M:FakeItEasy.Core.ICallMatcher.Matches(FakeItEasy.Core.IFakeObjectCall)">
|
741
|
+
<summary>
|
742
|
+
Gets a value indicating whether the call matches the predicate.
|
743
|
+
</summary>
|
744
|
+
<param name="call">The call to match.</param>
|
745
|
+
<returns>True if the call matches the predicate.</returns>
|
746
|
+
</member>
|
747
|
+
<member name="T:FakeItEasy.ArgumentConstraintExtensions">
|
748
|
+
<summary>
|
749
|
+
Provides validation extension to the Argumentscope{T} class.
|
750
|
+
</summary>
|
751
|
+
</member>
|
752
|
+
<member name="M:FakeItEasy.ArgumentConstraintExtensions.IsNull``1(FakeItEasy.Expressions.ArgumentConstraintScope{``0})">
|
753
|
+
<summary>
|
754
|
+
Validates that an argument is null.
|
755
|
+
</summary>
|
756
|
+
<typeparam name="T">The type of the argument.</typeparam>
|
757
|
+
<param name="scope">The scope of the constraint.</param>
|
758
|
+
<returns>An argument constraint.</returns>
|
759
|
+
</member>
|
760
|
+
<member name="M:FakeItEasy.ArgumentConstraintExtensions.Contains(FakeItEasy.Expressions.ArgumentConstraintScope{System.String},System.String)">
|
761
|
+
<summary>
|
762
|
+
Validates that the string argument contains the specified text.
|
763
|
+
</summary>
|
764
|
+
<param name="scope">The scope of the constraint.</param>
|
765
|
+
<param name="value">The string the argument string should contain.</param>
|
766
|
+
<returns>An argument constraint.</returns>
|
767
|
+
</member>
|
768
|
+
<member name="M:FakeItEasy.ArgumentConstraintExtensions.Contains``1(FakeItEasy.Expressions.ArgumentConstraintScope{``0},System.Object)">
|
769
|
+
<summary>
|
770
|
+
Validates that the collection argument contains the specified value.
|
771
|
+
</summary>
|
772
|
+
<param name="scope">The scope of the constraint.</param>
|
773
|
+
<param name="value">The value the collection should contain.</param>
|
774
|
+
<returns>An argument constraint.</returns>
|
775
|
+
</member>
|
776
|
+
<member name="M:FakeItEasy.ArgumentConstraintExtensions.StartsWith(FakeItEasy.Expressions.ArgumentConstraintScope{System.String},System.String)">
|
777
|
+
<summary>
|
778
|
+
Validates that the string argument starts with the specified text.
|
779
|
+
</summary>
|
780
|
+
<param name="scope">The scope of the constraint.</param>
|
781
|
+
<param name="value">The string the argument string should start with.</param>
|
782
|
+
<returns>An argument constraint.</returns>
|
783
|
+
</member>
|
784
|
+
<member name="M:FakeItEasy.ArgumentConstraintExtensions.IsNullOrEmpty(FakeItEasy.Expressions.ArgumentConstraintScope{System.String})">
|
785
|
+
<summary>
|
786
|
+
Validates that the string argument is null or the empty string.
|
787
|
+
</summary>
|
788
|
+
<param name="scope">The scope of the constraint.</param>
|
789
|
+
<returns>An argument constraint.</returns>
|
790
|
+
</member>
|
791
|
+
<member name="M:FakeItEasy.ArgumentConstraintExtensions.IsGreaterThan``1(FakeItEasy.Expressions.ArgumentConstraintScope{``0},``0)">
|
792
|
+
<summary>
|
793
|
+
Validates that the argument is greater than the specified value.
|
794
|
+
</summary>
|
795
|
+
<typeparam name="T">The type of the argument.</typeparam>
|
796
|
+
<param name="scope">The scope of the constraint.</param>
|
797
|
+
<param name="value">The value that the argument has to be greatere than.</param>
|
798
|
+
<returns>An argument constraint.</returns>
|
799
|
+
</member>
|
800
|
+
<member name="T:FakeItEasy.Configuration.BuildableCallRule">
|
801
|
+
<summary>
|
802
|
+
Provides the base for rules that can be built using the FakeConfiguration.
|
803
|
+
</summary>
|
804
|
+
</member>
|
805
|
+
<member name="T:FakeItEasy.Core.IFakeObjectCallRule">
|
806
|
+
<summary>
|
807
|
+
Allows for intercepting call to a fake object and
|
808
|
+
act upon them.
|
809
|
+
</summary>
|
810
|
+
</member>
|
811
|
+
<member name="M:FakeItEasy.Core.IFakeObjectCallRule.IsApplicableTo(FakeItEasy.Core.IFakeObjectCall)">
|
812
|
+
<summary>
|
813
|
+
Gets wether this interceptor is applicable to the specified
|
814
|
+
call, if true is returned the Apply-method of the interceptor will
|
815
|
+
be called.
|
816
|
+
</summary>
|
817
|
+
<param name="fakeObjectCall">The call to check for applicability.</param>
|
818
|
+
<returns>True if the interceptor is applicable.</returns>
|
819
|
+
</member>
|
820
|
+
<member name="M:FakeItEasy.Core.IFakeObjectCallRule.Apply(FakeItEasy.Core.IInterceptedFakeObjectCall)">
|
821
|
+
<summary>
|
822
|
+
Applies an action to the call, might set a return value or throw
|
823
|
+
an exception.
|
824
|
+
</summary>
|
825
|
+
<param name="fakeObjectCall">The call to apply the interceptor to.</param>
|
826
|
+
</member>
|
827
|
+
<member name="P:FakeItEasy.Core.IFakeObjectCallRule.NumberOfTimesToCall">
|
828
|
+
<summary>
|
829
|
+
Gets the number of times this call rule is valid, if it's set
|
830
|
+
to null its infinitely valid.
|
831
|
+
</summary>
|
832
|
+
</member>
|
833
|
+
<member name="M:FakeItEasy.Configuration.BuildableCallRule.IsApplicableTo(FakeItEasy.Core.IFakeObjectCall)">
|
834
|
+
<summary>
|
835
|
+
Gets if this rule is applicable to the specified call.
|
836
|
+
</summary>
|
837
|
+
<param name="fakeObjectCall">The call to validate.</param>
|
838
|
+
<returns>True if the rule applies to the call.</returns>
|
839
|
+
</member>
|
840
|
+
<member name="P:FakeItEasy.Configuration.BuildableCallRule.Applicator">
|
841
|
+
<summary>
|
842
|
+
An action that is called by the Apply method to apply this
|
843
|
+
rule to a fake object call.
|
844
|
+
</summary>
|
845
|
+
</member>
|
846
|
+
<member name="P:FakeItEasy.Configuration.BuildableCallRule.Actions">
|
847
|
+
<summary>
|
848
|
+
A collection of actions that should be invoked when the configured
|
849
|
+
call is made.
|
850
|
+
</summary>
|
851
|
+
</member>
|
852
|
+
<member name="P:FakeItEasy.Configuration.BuildableCallRule.NumberOfTimesToCall">
|
853
|
+
<summary>
|
854
|
+
The number of times the configured rule should be used.
|
855
|
+
</summary>
|
856
|
+
</member>
|
857
|
+
<member name="P:FakeItEasy.Configuration.BuildableCallRule.OutAndRefParametersValues">
|
858
|
+
<summary>
|
859
|
+
Values to apply to output and reference variables.
|
860
|
+
</summary>
|
861
|
+
</member>
|
862
|
+
<member name="P:FakeItEasy.Configuration.BuildableCallRule.CallBaseMethod">
|
863
|
+
<summary>
|
864
|
+
Gets or sets wether the base mehtod of the fake object call should be
|
865
|
+
called when the fake object call is made.
|
866
|
+
</summary>
|
867
|
+
</member>
|
868
|
+
<member name="T:FakeItEasy.IoC.Module">
|
869
|
+
<summary>
|
870
|
+
Manages registration of a set of components in a DictionaryContainer.
|
871
|
+
</summary>
|
872
|
+
</member>
|
873
|
+
<member name="M:FakeItEasy.IoC.Module.RegisterDependencies(FakeItEasy.IoC.DictionaryContainer)">
|
874
|
+
<summary>
|
875
|
+
Registers the components of this module.
|
876
|
+
</summary>
|
877
|
+
<param name="container">The container to register components in.</param>
|
878
|
+
</member>
|
879
|
+
<member name="T:FakeItEasy.VisualBasic.IRecordingCallRuleFactory">
|
880
|
+
<summary>
|
881
|
+
A factory that creates instances of the RecordingCallRuleType.
|
882
|
+
</summary>
|
883
|
+
</member>
|
884
|
+
<member name="M:FakeItEasy.VisualBasic.IRecordingCallRuleFactory.Create``1(FakeItEasy.Core.FakeObject,FakeItEasy.Core.RecordedCallRule)">
|
885
|
+
<summary>
|
886
|
+
Creates the specified fake object.
|
887
|
+
</summary>
|
888
|
+
<typeparam name="TFake">The type of the fake.</typeparam>
|
889
|
+
<param name="fakeObject">The fake object the rule belongs to.</param>
|
890
|
+
<param name="recordedRule">The rule that's being recorded.</param>
|
891
|
+
<returns>A RecordingCallRule instance.</returns>
|
892
|
+
</member>
|
893
|
+
<member name="T:FakeItEasy.Configuration.IStartConfigurationFactory">
|
894
|
+
<summary>
|
895
|
+
A factory responsible for creating start configuration for fake objects.
|
896
|
+
</summary>
|
897
|
+
</member>
|
898
|
+
<member name="M:FakeItEasy.Configuration.IStartConfigurationFactory.CreateConfiguration``1(FakeItEasy.Core.FakeObject)">
|
899
|
+
<summary>
|
900
|
+
Creates a start configuration for the specified fake object that fakes the
|
901
|
+
specified type.
|
902
|
+
</summary>
|
903
|
+
<typeparam name="TFake">The type of the fake object.</typeparam>
|
904
|
+
<param name="fakeObject">The fake object to configure.</param>
|
905
|
+
<returns>A configuration object.</returns>
|
906
|
+
</member>
|
907
|
+
<member name="T:FakeItEasy.Configuration.FakeConfigurationException">
|
908
|
+
<summary>
|
909
|
+
An exception that can be thrown when something goes wrong with the configuration
|
910
|
+
of a fake object.
|
911
|
+
</summary>
|
912
|
+
</member>
|
913
|
+
<member name="M:FakeItEasy.Configuration.FakeConfigurationException.#ctor">
|
914
|
+
<summary>
|
915
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Configuration.FakeConfigurationException"/> class.
|
916
|
+
</summary>
|
917
|
+
</member>
|
918
|
+
<member name="M:FakeItEasy.Configuration.FakeConfigurationException.#ctor(System.String)">
|
919
|
+
<summary>
|
920
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Configuration.FakeConfigurationException"/> class.
|
921
|
+
</summary>
|
922
|
+
<param name="message">The message.</param>
|
923
|
+
</member>
|
924
|
+
<member name="M:FakeItEasy.Configuration.FakeConfigurationException.#ctor(System.String,System.Exception)">
|
925
|
+
<summary>
|
926
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Configuration.FakeConfigurationException"/> class.
|
927
|
+
</summary>
|
928
|
+
<param name="message">The message.</param>
|
929
|
+
<param name="innerException">The inner exception.</param>
|
930
|
+
</member>
|
931
|
+
<member name="M:FakeItEasy.Configuration.FakeConfigurationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
932
|
+
<summary>
|
933
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Configuration.FakeConfigurationException"/> class.
|
934
|
+
</summary>
|
935
|
+
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
|
936
|
+
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
|
937
|
+
<exception cref="T:System.ArgumentNullException">
|
938
|
+
The <paramref name="info"/> parameter is null.
|
939
|
+
</exception>
|
940
|
+
<exception cref="T:System.Runtime.Serialization.SerializationException">
|
941
|
+
The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0).
|
942
|
+
</exception>
|
943
|
+
</member>
|
944
|
+
<member name="T:FakeItEasy.Configuration.IFakeConfigurationManager">
|
945
|
+
<summary>
|
946
|
+
Handles the configuration of fake object given an expression specifying
|
947
|
+
a call on a faked object.
|
948
|
+
</summary>
|
949
|
+
</member>
|
950
|
+
<member name="T:FakeItEasy.Configuration.IStartConfiguration`1">
|
951
|
+
<summary>
|
952
|
+
Provides methods for configuring a fake object.
|
953
|
+
</summary>
|
954
|
+
<typeparam name="TFake">The type of fake object.</typeparam>
|
955
|
+
</member>
|
956
|
+
<member name="M:FakeItEasy.Configuration.IStartConfiguration`1.CallsTo``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
|
957
|
+
<summary>
|
958
|
+
Configures the behavior of the fake object when a call that matches the specified
|
959
|
+
call happens.
|
960
|
+
</summary>
|
961
|
+
<typeparam name="TMember">The type of the return value of the member.</typeparam>
|
962
|
+
<param name="callSpecification">An expression that specifies the calls to configure.</param>
|
963
|
+
<returns>A configuration object.</returns>
|
964
|
+
</member>
|
965
|
+
<member name="M:FakeItEasy.Configuration.IStartConfiguration`1.CallsTo(System.Linq.Expressions.Expression{System.Action{`0}})">
|
966
|
+
<summary>
|
967
|
+
Configures the behavior of the fake object when a call that matches the specified
|
968
|
+
call happens.
|
969
|
+
</summary>
|
970
|
+
<param name="callSpecification">An expression that specifies the calls to configure.</param>
|
971
|
+
<returns>A configuration object.</returns>
|
972
|
+
</member>
|
973
|
+
<member name="M:FakeItEasy.Configuration.IStartConfiguration`1.AnyCall">
|
974
|
+
<summary>
|
975
|
+
Configures the behavior of the fake object whan a call is made to any method on the
|
976
|
+
object.
|
977
|
+
</summary>
|
978
|
+
<returns>A configuration object.</returns>
|
979
|
+
</member>
|
980
|
+
<member name="T:FakeItEasy.Core.DynamicContainer">
|
981
|
+
<summary>
|
982
|
+
A IFakeObjectContainer implementation that uses mef to load IFakeDefinitions and
|
983
|
+
IFakeConfigurations.
|
984
|
+
</summary>
|
985
|
+
</member>
|
986
|
+
<member name="M:FakeItEasy.Core.DynamicContainer.#ctor(FakeItEasy.Core.ITypeAccessor)">
|
987
|
+
<summary>
|
988
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.DynamicContainer"/> class.
|
989
|
+
</summary>
|
990
|
+
</member>
|
991
|
+
<member name="M:FakeItEasy.Core.DynamicContainer.TryCreateFakeObject(System.Type,System.Object@)">
|
992
|
+
<summary>
|
993
|
+
Creates a fake object of the specified type using the specified arguments if it's
|
994
|
+
supported by the container, returns a value indicating if it's supported or not.
|
995
|
+
</summary>
|
996
|
+
<param name="typeOfFake">The type of fake object to create.</param>
|
997
|
+
<param name="fakeObject">The fake object that was created if the method returns true.</param>
|
998
|
+
<returns>True if a fake object can be created.</returns>
|
999
|
+
</member>
|
1000
|
+
<member name="M:FakeItEasy.Core.DynamicContainer.ConfigureFake(System.Type,System.Object)">
|
1001
|
+
<summary>
|
1002
|
+
Applies base configuration to a fake object.
|
1003
|
+
</summary>
|
1004
|
+
<param name="typeOfFake">The type the fake object represents.</param>
|
1005
|
+
<param name="fakeObject">The fake object to configure.</param>
|
1006
|
+
</member>
|
1007
|
+
<member name="T:FakeItEasy.Core.IInterceptedFakeObjectCall">
|
1008
|
+
<summary>
|
1009
|
+
Represents a call to a fake object at interception time.
|
1010
|
+
</summary>
|
1011
|
+
</member>
|
1012
|
+
<member name="T:FakeItEasy.Core.IWritableFakeObjectCall">
|
1013
|
+
<summary>
|
1014
|
+
Represents a fake object call that can be edited.
|
1015
|
+
</summary>
|
1016
|
+
</member>
|
1017
|
+
<member name="T:FakeItEasy.Core.IFakeObjectCall">
|
1018
|
+
<summary>
|
1019
|
+
Represents a call to a fake object.
|
1020
|
+
</summary>
|
1021
|
+
</member>
|
1022
|
+
<member name="P:FakeItEasy.Core.IFakeObjectCall.Method">
|
1023
|
+
<summary>
|
1024
|
+
The method that's called.
|
1025
|
+
</summary>
|
1026
|
+
</member>
|
1027
|
+
<member name="P:FakeItEasy.Core.IFakeObjectCall.Arguments">
|
1028
|
+
<summary>
|
1029
|
+
The arguments used in the call.
|
1030
|
+
</summary>
|
1031
|
+
</member>
|
1032
|
+
<member name="P:FakeItEasy.Core.IFakeObjectCall.FakedObject">
|
1033
|
+
<summary>
|
1034
|
+
The faked object the call is performed on.
|
1035
|
+
</summary>
|
1036
|
+
</member>
|
1037
|
+
<member name="M:FakeItEasy.Core.IWritableFakeObjectCall.SetReturnValue(System.Object)">
|
1038
|
+
<summary>
|
1039
|
+
Sets the return value of the call.
|
1040
|
+
</summary>
|
1041
|
+
<param name="value">The return value to set.</param>
|
1042
|
+
</member>
|
1043
|
+
<member name="M:FakeItEasy.Core.IWritableFakeObjectCall.CallBaseMethod">
|
1044
|
+
<summary>
|
1045
|
+
Calls the base method of the faked type.
|
1046
|
+
</summary>
|
1047
|
+
</member>
|
1048
|
+
<member name="M:FakeItEasy.Core.IWritableFakeObjectCall.SetArgumentValue(System.Int32,System.Object)">
|
1049
|
+
<summary>
|
1050
|
+
Sets the value of the argument at the specified index in the parameters list.
|
1051
|
+
</summary>
|
1052
|
+
<param name="index">The index of the argument to set the value of.</param>
|
1053
|
+
<param name="value">The value to set to the argument.</param>
|
1054
|
+
</member>
|
1055
|
+
<member name="M:FakeItEasy.Core.IWritableFakeObjectCall.AsReadOnly">
|
1056
|
+
<summary>
|
1057
|
+
Freezes the call so that it can no longer be modified.
|
1058
|
+
</summary>
|
1059
|
+
<returns>A completed fake object call.</returns>
|
1060
|
+
</member>
|
1061
|
+
<member name="M:FakeItEasy.Core.IInterceptedFakeObjectCall.DoNotRecordCall">
|
1062
|
+
<summary>
|
1063
|
+
Sets that the call should not be recorded by the fake manager.
|
1064
|
+
</summary>
|
1065
|
+
</member>
|
1066
|
+
<member name="T:FakeItEasy.ExceptionMessages">
|
1067
|
+
<summary>
|
1068
|
+
A strongly-typed resource class, for looking up localized strings, etc.
|
1069
|
+
</summary>
|
1070
|
+
</member>
|
1071
|
+
<member name="P:FakeItEasy.ExceptionMessages.ResourceManager">
|
1072
|
+
<summary>
|
1073
|
+
Returns the cached ResourceManager instance used by this class.
|
1074
|
+
</summary>
|
1075
|
+
</member>
|
1076
|
+
<member name="P:FakeItEasy.ExceptionMessages.Culture">
|
1077
|
+
<summary>
|
1078
|
+
Overrides the current thread's CurrentUICulture property for all
|
1079
|
+
resource lookups using this strongly typed resource class.
|
1080
|
+
</summary>
|
1081
|
+
</member>
|
1082
|
+
<member name="P:FakeItEasy.ExceptionMessages.ApplicatorNotSetExceptionMessage">
|
1083
|
+
<summary>
|
1084
|
+
Looks up a localized string similar to The Apply method of the ExpressionInterceptor may no be called before the Applicator property has been set..
|
1085
|
+
</summary>
|
1086
|
+
</member>
|
1087
|
+
<member name="P:FakeItEasy.ExceptionMessages.ArgumentNameDoesNotExist">
|
1088
|
+
<summary>
|
1089
|
+
Looks up a localized string similar to The specified argument name does not exist in the ArgumentList..
|
1090
|
+
</summary>
|
1091
|
+
</member>
|
1092
|
+
<member name="P:FakeItEasy.ExceptionMessages.ArgumentsForConstructorOnInterfaceType">
|
1093
|
+
<summary>
|
1094
|
+
Looks up a localized string similar to Arguments for constructor was specified when generating proxy of interface type..
|
1095
|
+
</summary>
|
1096
|
+
</member>
|
1097
|
+
<member name="P:FakeItEasy.ExceptionMessages.ArgumentValidationDefaultMessage">
|
1098
|
+
<summary>
|
1099
|
+
Looks up a localized string similar to An argument validation was not configured correctly..
|
1100
|
+
</summary>
|
1101
|
+
</member>
|
1102
|
+
<member name="P:FakeItEasy.ExceptionMessages.CalledTooFewTimesMessage">
|
1103
|
+
<summary>
|
1104
|
+
Looks up a localized string similar to The method '{0}' was called too few times, expected #{1} times but was called #{2} times..
|
1105
|
+
</summary>
|
1106
|
+
</member>
|
1107
|
+
<member name="P:FakeItEasy.ExceptionMessages.CalledTooManyTimesMessage">
|
1108
|
+
<summary>
|
1109
|
+
Looks up a localized string similar to The method '{0}' was called too many times, expected #{1} times but was called #{2} times..
|
1110
|
+
</summary>
|
1111
|
+
</member>
|
1112
|
+
<member name="P:FakeItEasy.ExceptionMessages.CanNotGenerateFakeMessage">
|
1113
|
+
<summary>
|
1114
|
+
Looks up a localized string similar to Can not create fake of the type '{0}', it's not registered in the current container and the current IProxyGenerator can not generate the fake..
|
1115
|
+
</summary>
|
1116
|
+
</member>
|
1117
|
+
<member name="P:FakeItEasy.ExceptionMessages.ConfiguringNonFakeObjectExceptionMessage">
|
1118
|
+
<summary>
|
1119
|
+
Looks up a localized string similar to Error when accessing FakeObject, the specified argument is of the type '{0}' which is not faked..
|
1120
|
+
</summary>
|
1121
|
+
</member>
|
1122
|
+
<member name="P:FakeItEasy.ExceptionMessages.CreatingExpressionCallMatcherWithNonMethodOrPropertyExpression">
|
1123
|
+
<summary>
|
1124
|
+
Looks up a localized string similar to An ExpressionCallMatcher can only be created for expressions that represents a method call or a property getter..
|
1125
|
+
</summary>
|
1126
|
+
</member>
|
1127
|
+
<member name="P:FakeItEasy.ExceptionMessages.FailedToGenerateProxyPattern">
|
1128
|
+
<summary>
|
1129
|
+
Looks up a localized string similar to FakeItEasy failed to create fake object of type "{0}".
|
1130
|
+
|
1131
|
+
1. The type is not registered in the current IFakeObjectContainer.
|
1132
|
+
2. The current IProxyGenerator failed to generate a proxy for the following reason: {1}.
|
1133
|
+
</summary>
|
1134
|
+
</member>
|
1135
|
+
<member name="P:FakeItEasy.ExceptionMessages.FakeCreationExceptionDefaultMessage">
|
1136
|
+
<summary>
|
1137
|
+
Looks up a localized string similar to Unable to create fake object..
|
1138
|
+
</summary>
|
1139
|
+
</member>
|
1140
|
+
<member name="P:FakeItEasy.ExceptionMessages.FakingNonAbstractClassWithArgumentsForConstructor">
|
1141
|
+
<summary>
|
1142
|
+
Looks up a localized string similar to Only abstract classes can be faked using the A.Fake-method that takes an enumerable of objects as arguments for constructor, use the overload that takes an expression instead..
|
1143
|
+
</summary>
|
1144
|
+
</member>
|
1145
|
+
<member name="P:FakeItEasy.ExceptionMessages.MemberAccessorNotCorrectExpressionType">
|
1146
|
+
<summary>
|
1147
|
+
Looks up a localized string similar to The member accessor expression must be a lambda expression with a MethodCallExpression or MemberAccessExpression as its body..
|
1148
|
+
</summary>
|
1149
|
+
</member>
|
1150
|
+
<member name="P:FakeItEasy.ExceptionMessages.MemberCanNotBeIntercepted">
|
1151
|
+
<summary>
|
1152
|
+
Looks up a localized string similar to The specified method can not be configured since it can not be intercepted by the current IProxyGenerator..
|
1153
|
+
</summary>
|
1154
|
+
</member>
|
1155
|
+
<member name="P:FakeItEasy.ExceptionMessages.MethodMissmatchWhenPlayingBackRecording">
|
1156
|
+
<summary>
|
1157
|
+
Looks up a localized string similar to The method of the call did not match the method of the recorded call, the recorded sequence is no longer valid..
|
1158
|
+
</summary>
|
1159
|
+
</member>
|
1160
|
+
<member name="P:FakeItEasy.ExceptionMessages.NoConstructorMatchingArguments">
|
1161
|
+
<summary>
|
1162
|
+
Looks up a localized string similar to No constructor matching the specified arguments was found on the type {0}..
|
1163
|
+
</summary>
|
1164
|
+
</member>
|
1165
|
+
<member name="P:FakeItEasy.ExceptionMessages.NoDefaultConstructorMessage">
|
1166
|
+
<summary>
|
1167
|
+
Looks up a localized string similar to Can not generate fake object for the class since no default constructor was found, specify a constructor call..
|
1168
|
+
</summary>
|
1169
|
+
</member>
|
1170
|
+
<member name="P:FakeItEasy.ExceptionMessages.NoMoreRecordedCalls">
|
1171
|
+
<summary>
|
1172
|
+
Looks up a localized string similar to All the recorded calls has been applied, the recorded sequence is no longer valid..
|
1173
|
+
</summary>
|
1174
|
+
</member>
|
1175
|
+
<member name="P:FakeItEasy.ExceptionMessages.NonConstructorExpressionMessage">
|
1176
|
+
<summary>
|
1177
|
+
Looks up a localized string similar to Only expression of the type ExpressionType.New (constructor calls) are accepted..
|
1178
|
+
</summary>
|
1179
|
+
</member>
|
1180
|
+
<member name="P:FakeItEasy.ExceptionMessages.NowCalledDirectly">
|
1181
|
+
<summary>
|
1182
|
+
Looks up a localized string similar to The Now-method on the event raise is not meant to be called directly, only use it to register to an event on a fake object that you want to be raised..
|
1183
|
+
</summary>
|
1184
|
+
</member>
|
1185
|
+
<member name="P:FakeItEasy.ExceptionMessages.NumberOfOutAndRefParametersDoesNotMatchCall">
|
1186
|
+
<summary>
|
1187
|
+
Looks up a localized string similar to The number of values for out and ref parameters specified does not match the number of out and ref parameters in the call..
|
1188
|
+
</summary>
|
1189
|
+
</member>
|
1190
|
+
<member name="P:FakeItEasy.ExceptionMessages.TypeCanNotBeProxied">
|
1191
|
+
<summary>
|
1192
|
+
Looks up a localized string similar to The current fake proxy generator can not create proxies of the type {0}..
|
1193
|
+
</summary>
|
1194
|
+
</member>
|
1195
|
+
<member name="P:FakeItEasy.ExceptionMessages.WasCalledWrongNumberOfTimes">
|
1196
|
+
<summary>
|
1197
|
+
Looks up a localized string similar to Expected to find call {0} the number of times specified by the predicate '{1}' but found it {2} times among the calls:.
|
1198
|
+
</summary>
|
1199
|
+
</member>
|
1200
|
+
<member name="P:FakeItEasy.ExceptionMessages.WrongNumberOfArgumentNamesMessage">
|
1201
|
+
<summary>
|
1202
|
+
Looks up a localized string similar to The number of argument names does not match the number of arguments..
|
1203
|
+
</summary>
|
1204
|
+
</member>
|
1205
|
+
<member name="T:FakeItEasy.Expressions.ArgumentConstraintScope`1">
|
1206
|
+
<summary>
|
1207
|
+
Represents a scope for arguments constraints when they're chained together, enables the logical operators
|
1208
|
+
and and not.
|
1209
|
+
</summary>
|
1210
|
+
<typeparam name="T">The type of argument to constrain.</typeparam>
|
1211
|
+
</member>
|
1212
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraintScope`1.Matches(System.Func{`0,System.Boolean})">
|
1213
|
+
<summary>
|
1214
|
+
Gets an ArgumentConstraint that is valid if the specified predicate returns true.
|
1215
|
+
</summary>
|
1216
|
+
<param name="predicate">A predicate that validates the argument.</param>
|
1217
|
+
<returns>An ArgumentConstraint.</returns>
|
1218
|
+
</member>
|
1219
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraintScope`1.IsInstanceOf``1">
|
1220
|
+
<summary>
|
1221
|
+
Gets an argumentConstraint that validates that the argument is
|
1222
|
+
of the specified type or any derivative.
|
1223
|
+
</summary>
|
1224
|
+
<typeparam name="TType">The type to check for.</typeparam>
|
1225
|
+
<returns>An argument constraint.</returns>
|
1226
|
+
</member>
|
1227
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraintScope`1.ToString">
|
1228
|
+
<summary>
|
1229
|
+
The base implementation returns the empty string.
|
1230
|
+
</summary>
|
1231
|
+
<returns>Empty string.</returns>
|
1232
|
+
</member>
|
1233
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraintScope`1.IsValid(`0)">
|
1234
|
+
<summary>
|
1235
|
+
Gets a value indicating if the argument is valid in the context
|
1236
|
+
of this ArgumentValidations-object.
|
1237
|
+
</summary>
|
1238
|
+
<param name="argument">The argument to validate.</param>
|
1239
|
+
<returns>True if the argument is valid.</returns>
|
1240
|
+
</member>
|
1241
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraintScope`1.ResultOfChildConstraintIsValid(System.Boolean)">
|
1242
|
+
<summary>
|
1243
|
+
Gets a value indicating if the result of a child constraints IsValid-call
|
1244
|
+
is valid in the context of this ArgumentValidations.
|
1245
|
+
</summary>
|
1246
|
+
<param name="result">The result of the call to the child constraints IsValid-method.</param>
|
1247
|
+
<returns>True if the result is valid.</returns>
|
1248
|
+
</member>
|
1249
|
+
<member name="P:FakeItEasy.Expressions.ArgumentConstraintScope`1.Not">
|
1250
|
+
<summary>
|
1251
|
+
Reverse the is valid of the constraint that comes after the not, so that
|
1252
|
+
if the constraint is valid the result is false and if the constraint is not
|
1253
|
+
valid the result is true.
|
1254
|
+
</summary>
|
1255
|
+
</member>
|
1256
|
+
<member name="T:FakeItEasy.Expressions.ArgumentConstraint">
|
1257
|
+
<summary>
|
1258
|
+
Provides static methods for the ArgumentConstraint{T} class.
|
1259
|
+
</summary>
|
1260
|
+
</member>
|
1261
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint.Create``1(FakeItEasy.Expressions.ArgumentConstraintScope{``0},System.Func{``0,System.Boolean},System.String)">
|
1262
|
+
<summary>
|
1263
|
+
Creates a new constraint.
|
1264
|
+
</summary>
|
1265
|
+
<param name="scope">The scope of the constraint.</param>
|
1266
|
+
<param name="predicate">A predicate that's used to validate arguments.</param>
|
1267
|
+
<param name="description">A description of the constraint.</param>
|
1268
|
+
<returns>An ArgumentConstraint.</returns>
|
1269
|
+
</member>
|
1270
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint.Or``1(FakeItEasy.Expressions.ArgumentConstraint{``0},System.Func{FakeItEasy.Expressions.ArgumentConstraintScope{``0},FakeItEasy.Expressions.ArgumentConstraint{``0}})">
|
1271
|
+
<summary>
|
1272
|
+
Allows you to combine the current constraint with another constraint, where only
|
1273
|
+
one of them has to be valid.
|
1274
|
+
</summary>
|
1275
|
+
<param name="constraint">The constraint to extend.</param>
|
1276
|
+
<param name="otherConstraint">A delegate that returns the constraint to combine with.</param>
|
1277
|
+
<returns>A combined constraint.</returns>
|
1278
|
+
</member>
|
1279
|
+
<member name="T:FakeItEasy.Expressions.ArgumentConstraint`1">
|
1280
|
+
<summary>
|
1281
|
+
An object that can determine if an argument of the type T is valid or not.
|
1282
|
+
</summary>
|
1283
|
+
<typeparam name="T">The type of argument to validate.</typeparam>
|
1284
|
+
</member>
|
1285
|
+
<member name="T:FakeItEasy.Core.IArgumentConstraint">
|
1286
|
+
<summary>
|
1287
|
+
Validates an argument, checks that it's valid in a specific fake call.
|
1288
|
+
</summary>
|
1289
|
+
</member>
|
1290
|
+
<member name="M:FakeItEasy.Core.IArgumentConstraint.IsValid(System.Object)">
|
1291
|
+
<summary>
|
1292
|
+
Gets whether the argument is valid.
|
1293
|
+
</summary>
|
1294
|
+
<param name="argument">The argument to validate.</param>
|
1295
|
+
<returns>True if the argument is valid.</returns>
|
1296
|
+
</member>
|
1297
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.#ctor(FakeItEasy.Expressions.ArgumentConstraintScope{`0})">
|
1298
|
+
<summary>
|
1299
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Expressions.ArgumentConstraint`1"/> class.
|
1300
|
+
</summary>
|
1301
|
+
<param name="scope">The scope of the constraint.</param>
|
1302
|
+
</member>
|
1303
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.op_Implicit(FakeItEasy.Expressions.ArgumentConstraint{`0})~`0">
|
1304
|
+
<summary>
|
1305
|
+
Converts a constraint to the the type of the constrained argument.
|
1306
|
+
</summary>
|
1307
|
+
<param name="constraint"></param>
|
1308
|
+
<returns></returns>
|
1309
|
+
</member>
|
1310
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.op_Implicit(`0)~FakeItEasy.Expressions.ArgumentConstraint{`0}">
|
1311
|
+
<summary>
|
1312
|
+
Converts an argument to an ArgumentConstraint that evaluates equality.
|
1313
|
+
</summary>
|
1314
|
+
<param name="argument">The argument to convert.</param>
|
1315
|
+
<returns>An equality constraint.</returns>
|
1316
|
+
</member>
|
1317
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.Or(FakeItEasy.Expressions.ArgumentConstraint{`0})">
|
1318
|
+
<summary>
|
1319
|
+
Allows you to combine the current constraint with another constraint, where only
|
1320
|
+
one of them has to be valid.
|
1321
|
+
</summary>
|
1322
|
+
<param name="otherConstraint">The constraint to combine with.</param>
|
1323
|
+
<returns>A combined constraint.</returns>
|
1324
|
+
</member>
|
1325
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.IsValid(`0)">
|
1326
|
+
<summary>
|
1327
|
+
Gets a value indicating if the value is valid.
|
1328
|
+
</summary>
|
1329
|
+
<param name="value">The value to evaluate.</param>
|
1330
|
+
<returns>True if the value is valid.</returns>
|
1331
|
+
</member>
|
1332
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.ToString">
|
1333
|
+
<summary>
|
1334
|
+
Gets a formatted description of this constraint.
|
1335
|
+
</summary>
|
1336
|
+
<returns>A description of this constraint.</returns>
|
1337
|
+
</member>
|
1338
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.FakeItEasy#Core#IArgumentConstraint#IsValid(System.Object)">
|
1339
|
+
<summary>
|
1340
|
+
Gets whether the argument is valid.
|
1341
|
+
</summary>
|
1342
|
+
<param name="argument">The argument to validate.</param>
|
1343
|
+
<returns>True if the argument is valid.</returns>
|
1344
|
+
</member>
|
1345
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraint`1.Evaluate(`0)">
|
1346
|
+
<summary>
|
1347
|
+
When implemented evaluates if the argument is valid.
|
1348
|
+
</summary>
|
1349
|
+
<param name="value">The value to evaluate.</param>
|
1350
|
+
<returns>True if the argument is valid.</returns>
|
1351
|
+
</member>
|
1352
|
+
<member name="P:FakeItEasy.Expressions.ArgumentConstraint`1.Argument">
|
1353
|
+
<summary>
|
1354
|
+
A constraint for an interface type can not be implicitly converted to the
|
1355
|
+
argument type, use this property in these cases.
|
1356
|
+
</summary>
|
1357
|
+
<example>
|
1358
|
+
A.CallTo(() => foo.Bar(A<string>Ignored, A<IComparable%gt;.Ignored.Argument)).Throws(new Exception());
|
1359
|
+
</example>
|
1360
|
+
</member>
|
1361
|
+
<member name="P:FakeItEasy.Expressions.ArgumentConstraint`1.And">
|
1362
|
+
<summary>
|
1363
|
+
Produces a new scope to combine the current constraint with another constraint.
|
1364
|
+
</summary>
|
1365
|
+
</member>
|
1366
|
+
<member name="P:FakeItEasy.Expressions.ArgumentConstraint`1.Scope">
|
1367
|
+
<summary>
|
1368
|
+
The scope of the constraint.
|
1369
|
+
</summary>
|
1370
|
+
</member>
|
1371
|
+
<member name="P:FakeItEasy.Expressions.ArgumentConstraint`1.FullDescription">
|
1372
|
+
<summary>
|
1373
|
+
Gets the full description of the constraint, together with any parent validations
|
1374
|
+
and constraints descriptions.
|
1375
|
+
</summary>
|
1376
|
+
</member>
|
1377
|
+
<member name="P:FakeItEasy.Expressions.ArgumentConstraint`1.Description">
|
1378
|
+
<summary>
|
1379
|
+
Gets a description of this constraint.
|
1380
|
+
</summary>
|
1381
|
+
</member>
|
1382
|
+
<member name="T:FakeItEasy.Expressions.ExpressionParser">
|
1383
|
+
<summary>
|
1384
|
+
Manages breaking call specification expression into their various parts.
|
1385
|
+
</summary>
|
1386
|
+
</member>
|
1387
|
+
<member name="T:FakeItEasy.Expressions.IExpressionParser">
|
1388
|
+
<summary>
|
1389
|
+
Manages breaking call specification expression into their various parts.
|
1390
|
+
</summary>
|
1391
|
+
</member>
|
1392
|
+
<member name="M:FakeItEasy.Expressions.IExpressionParser.GetFakeObjectCallIsMadeOn(System.Linq.Expressions.LambdaExpression)">
|
1393
|
+
<summary>
|
1394
|
+
Gets the fake object an expression is called on.
|
1395
|
+
</summary>
|
1396
|
+
<param name="fakeObjectCall">The call expression.</param>
|
1397
|
+
<returns>A FakeObject.</returns>
|
1398
|
+
<exception cref="T:System.ArgumentNullException">The fakeObjectCall is null.</exception>
|
1399
|
+
<exception cref="T:System.ArgumentException">The specified expression is not an expression where a call is made to a faked object.</exception>
|
1400
|
+
</member>
|
1401
|
+
<member name="M:FakeItEasy.Expressions.ExpressionParser.GetFakeObjectCallIsMadeOn(System.Linq.Expressions.LambdaExpression)">
|
1402
|
+
<summary>
|
1403
|
+
Gets the fake object an expression is called on.
|
1404
|
+
</summary>
|
1405
|
+
<param name="fakeObjectCall">The call expression.</param>
|
1406
|
+
<returns>A FakeObject.</returns>
|
1407
|
+
<exception cref="T:System.ArgumentNullException">The fakeObjectCall is null.</exception>
|
1408
|
+
<exception cref="T:System.ArgumentException">The specified expression is not an expression where a call is made to a faked object.</exception>
|
1409
|
+
</member>
|
1410
|
+
<member name="T:FakeItEasy.Repeated">
|
1411
|
+
<summary>
|
1412
|
+
Provides syntax for specifying the number of times a call must have been repeated when asserting on
|
1413
|
+
fake object calls.
|
1414
|
+
</summary>
|
1415
|
+
<example>A.CallTo(() => foo.Bar()).Assert(Happened.Once.Exactly);</example>
|
1416
|
+
</member>
|
1417
|
+
<member name="M:FakeItEasy.Repeated.Times(System.Int32)">
|
1418
|
+
<summary>
|
1419
|
+
Asserts that a call has happened the specified number of times
|
1420
|
+
or more.
|
1421
|
+
</summary>
|
1422
|
+
<param name="numberOfTimes">The number of times the call must have happened.</param>
|
1423
|
+
<returns>A HappenedNoUpperBound instance.</returns>
|
1424
|
+
</member>
|
1425
|
+
<member name="M:FakeItEasy.Repeated.Matches(System.Int32)">
|
1426
|
+
<summary>
|
1427
|
+
When implemented gets a value indicating if the repeat is matched
|
1428
|
+
by the Happened-instance.
|
1429
|
+
</summary>
|
1430
|
+
<param name="repeat">The repeat of a call.</param>
|
1431
|
+
<returns>True if the repeat is a match.</returns>
|
1432
|
+
</member>
|
1433
|
+
<member name="M:FakeItEasy.Repeated.Like(System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}})">
|
1434
|
+
<summary>
|
1435
|
+
Specifies that a call must have been repeated a number of times
|
1436
|
+
that is validated by the specified repeatValidation argument.
|
1437
|
+
</summary>
|
1438
|
+
<param name="repeatValidation">A predicate that specifies the number of times
|
1439
|
+
a call must have been made.</param>
|
1440
|
+
<returns>A Repeated-instance.</returns>
|
1441
|
+
</member>
|
1442
|
+
<member name="P:FakeItEasy.Repeated.Never">
|
1443
|
+
<summary>
|
1444
|
+
Asserts that a call has not happened at all.
|
1445
|
+
</summary>
|
1446
|
+
</member>
|
1447
|
+
<member name="P:FakeItEasy.Repeated.Once">
|
1448
|
+
<summary>
|
1449
|
+
Asserts that a call has happened once or more.
|
1450
|
+
</summary>
|
1451
|
+
</member>
|
1452
|
+
<member name="P:FakeItEasy.Repeated.Twice">
|
1453
|
+
<summary>
|
1454
|
+
Asserts that a call has happend twice or more.
|
1455
|
+
</summary>
|
1456
|
+
</member>
|
1457
|
+
<member name="T:FakeItEasy.LowerBoundRepeated">
|
1458
|
+
<summary>
|
1459
|
+
Provides syntax for specifying the number repeat when asserting on
|
1460
|
+
fake object calls.
|
1461
|
+
</summary>
|
1462
|
+
</member>
|
1463
|
+
<member name="M:FakeItEasy.LowerBoundRepeated.#ctor(System.Int32)">
|
1464
|
+
<summary>
|
1465
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.LowerBoundRepeated"/> class.
|
1466
|
+
</summary>
|
1467
|
+
<param name="expectedRepeat">The expected repeat.</param>
|
1468
|
+
</member>
|
1469
|
+
<member name="M:FakeItEasy.LowerBoundRepeated.Matches(System.Int32)">
|
1470
|
+
<summary>
|
1471
|
+
Gets whether the specified repeat is the expected repeat or higher.
|
1472
|
+
</summary>
|
1473
|
+
<param name="repeat">The repeat of a call.</param>
|
1474
|
+
<returns>True if the repeat is a match.</returns>
|
1475
|
+
</member>
|
1476
|
+
<member name="M:FakeItEasy.LowerBoundRepeated.ToString">
|
1477
|
+
<summary>
|
1478
|
+
Gets a description of the repeat.
|
1479
|
+
</summary>
|
1480
|
+
<returns>A description of the repeat.</returns>
|
1481
|
+
</member>
|
1482
|
+
<member name="P:FakeItEasy.LowerBoundRepeated.Exactly">
|
1483
|
+
<summary>
|
1484
|
+
Restricts the repeat specification so that the call must have
|
1485
|
+
happened exactly the number of times previously specified, no more
|
1486
|
+
and no less.
|
1487
|
+
</summary>
|
1488
|
+
</member>
|
1489
|
+
<member name="P:FakeItEasy.LowerBoundRepeated.OrLess">
|
1490
|
+
<summary>
|
1491
|
+
Restricts the repeat specification so that the call must have happened
|
1492
|
+
no more than the times previously specified.
|
1493
|
+
</summary>
|
1494
|
+
</member>
|
1495
|
+
<member name="T:FakeItEasy.Recorders">
|
1496
|
+
<summary>
|
1497
|
+
Provides methods for creating recorders for self initializing fakes.
|
1498
|
+
</summary>
|
1499
|
+
</member>
|
1500
|
+
<member name="M:FakeItEasy.Recorders.FileRecorder(System.String)">
|
1501
|
+
<summary>
|
1502
|
+
Gets a recorder that records to and loads calls from the specified file.
|
1503
|
+
</summary>
|
1504
|
+
<param name="fileName">The file to use for recording.</param>
|
1505
|
+
<returns>A recorder instance.</returns>
|
1506
|
+
</member>
|
1507
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.ICallStorage">
|
1508
|
+
<summary>
|
1509
|
+
Represents storage for recorded calls for self initializing
|
1510
|
+
fakes.
|
1511
|
+
</summary>
|
1512
|
+
</member>
|
1513
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.ICallStorage.Load">
|
1514
|
+
<summary>
|
1515
|
+
Loads the recorded calls for the specified recording.
|
1516
|
+
</summary>
|
1517
|
+
<returns>The recorded calls for the recording with the specified id.</returns>
|
1518
|
+
</member>
|
1519
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.ICallStorage.Save(System.Collections.Generic.IEnumerable{FakeItEasy.SelfInitializedFakes.CallData})">
|
1520
|
+
<summary>
|
1521
|
+
Saves the specified calls as the recording with the specified id,
|
1522
|
+
overwriting any previous recording.
|
1523
|
+
</summary>
|
1524
|
+
<param name="calls">The calls to save.</param>
|
1525
|
+
</member>
|
1526
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.FileStorage.Factory">
|
1527
|
+
<summary>
|
1528
|
+
A factory responsible for creating instances of FileStorage.
|
1529
|
+
</summary>
|
1530
|
+
<param name="fileName">The file name of the storage.</param>
|
1531
|
+
<returns>A FileStorage instance.</returns>
|
1532
|
+
</member>
|
1533
|
+
<member name="T:FakeItEasy.IFileSystem">
|
1534
|
+
<summary>
|
1535
|
+
Provides access to the file system.
|
1536
|
+
</summary>
|
1537
|
+
</member>
|
1538
|
+
<member name="M:FakeItEasy.IFileSystem.Open(System.String,System.IO.FileMode)">
|
1539
|
+
<summary>
|
1540
|
+
Opens the specified file in the specified mode.
|
1541
|
+
</summary>
|
1542
|
+
<param name="fileName">The full path and name of the file to open.</param>
|
1543
|
+
<param name="mode">The mode to open the file in.</param>
|
1544
|
+
<returns>A stream for reading and writing the file.</returns>
|
1545
|
+
</member>
|
1546
|
+
<member name="M:FakeItEasy.IFileSystem.FileExists(System.String)">
|
1547
|
+
<summary>
|
1548
|
+
Gets a value indicating if the specified file exists.
|
1549
|
+
</summary>
|
1550
|
+
<param name="fileName">The path and name of the file to check.</param>
|
1551
|
+
<returns>True if the file exists.</returns>
|
1552
|
+
</member>
|
1553
|
+
<member name="M:FakeItEasy.IFileSystem.Create(System.String)">
|
1554
|
+
<summary>
|
1555
|
+
Creates a file with the specified name.
|
1556
|
+
</summary>
|
1557
|
+
<param name="fileName">The name of the file to create.</param>
|
1558
|
+
</member>
|
1559
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder">
|
1560
|
+
<summary>
|
1561
|
+
An interface for recorders that provides stored responses for self initializing fakes.
|
1562
|
+
</summary>
|
1563
|
+
</member>
|
1564
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder.ApplyNext(FakeItEasy.Core.IInterceptedFakeObjectCall)">
|
1565
|
+
<summary>
|
1566
|
+
Applies the call if the call has been recorded.
|
1567
|
+
</summary>
|
1568
|
+
<param name="call">The call to apply to from recording.</param>
|
1569
|
+
</member>
|
1570
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder.RecordCall(FakeItEasy.Core.ICompletedFakeObjectCall)">
|
1571
|
+
<summary>
|
1572
|
+
Records the specified call.
|
1573
|
+
</summary>
|
1574
|
+
<param name="call">The call to record.</param>
|
1575
|
+
</member>
|
1576
|
+
<member name="P:FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder.IsRecording">
|
1577
|
+
<summary>
|
1578
|
+
Gets a value indicating if the recorder is currently recording.
|
1579
|
+
</summary>
|
1580
|
+
</member>
|
1581
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.RecordingException">
|
1582
|
+
<summary>
|
1583
|
+
An exception that can be thrown when recording for self initialized
|
1584
|
+
fakes fails or when playback fails.
|
1585
|
+
</summary>
|
1586
|
+
</member>
|
1587
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingException.#ctor">
|
1588
|
+
<summary>
|
1589
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.SelfInitializedFakes.RecordingException"/> class.
|
1590
|
+
</summary>
|
1591
|
+
</member>
|
1592
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingException.#ctor(System.String)">
|
1593
|
+
<summary>
|
1594
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.SelfInitializedFakes.RecordingException"/> class.
|
1595
|
+
</summary>
|
1596
|
+
<param name="message">The message.</param>
|
1597
|
+
</member>
|
1598
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingException.#ctor(System.String,System.Exception)">
|
1599
|
+
<summary>
|
1600
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.SelfInitializedFakes.RecordingException"/> class.
|
1601
|
+
</summary>
|
1602
|
+
<param name="message">The message.</param>
|
1603
|
+
<param name="innerException">The inner exception.</param>
|
1604
|
+
</member>
|
1605
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
1606
|
+
<summary>
|
1607
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.SelfInitializedFakes.RecordingException"/> class.
|
1608
|
+
</summary>
|
1609
|
+
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
|
1610
|
+
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
|
1611
|
+
<exception cref="T:System.ArgumentNullException">
|
1612
|
+
The <paramref name="info"/> parameter is null.
|
1613
|
+
</exception>
|
1614
|
+
<exception cref="T:System.Runtime.Serialization.SerializationException">
|
1615
|
+
The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0).
|
1616
|
+
</exception>
|
1617
|
+
</member>
|
1618
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.SelfInitializationRule">
|
1619
|
+
<summary>
|
1620
|
+
A call rule use for self initializing fakes, delegates call to
|
1621
|
+
be applied by the recorder.
|
1622
|
+
</summary>
|
1623
|
+
</member>
|
1624
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.SelfInitializationRule.#ctor(FakeItEasy.Core.IFakeObjectCallRule,FakeItEasy.SelfInitializedFakes.ISelfInitializingFakeRecorder)">
|
1625
|
+
<summary>
|
1626
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.SelfInitializedFakes.SelfInitializationRule"/> class.
|
1627
|
+
</summary>
|
1628
|
+
<param name="wrappedRule">The wrapped rule.</param>
|
1629
|
+
<param name="recorder">The recorder.</param>
|
1630
|
+
</member>
|
1631
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.SelfInitializationRule.IsApplicableTo(FakeItEasy.Core.IFakeObjectCall)">
|
1632
|
+
<summary>
|
1633
|
+
Gets wether this interceptor is applicable to the specified
|
1634
|
+
call, if true is returned the Apply-method of the interceptor will
|
1635
|
+
be called.
|
1636
|
+
</summary>
|
1637
|
+
<param name="fakeObjectCall">The call to check for applicability.</param>
|
1638
|
+
<returns>True if the interceptor is applicable.</returns>
|
1639
|
+
</member>
|
1640
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.SelfInitializationRule.Apply(FakeItEasy.Core.IInterceptedFakeObjectCall)">
|
1641
|
+
<summary>
|
1642
|
+
Applies an action to the call, might set a return value or throw
|
1643
|
+
an exception.
|
1644
|
+
</summary>
|
1645
|
+
<param name="fakeObjectCall">The call to apply the interceptor to.</param>
|
1646
|
+
</member>
|
1647
|
+
<member name="P:FakeItEasy.SelfInitializedFakes.SelfInitializationRule.NumberOfTimesToCall">
|
1648
|
+
<summary>
|
1649
|
+
Gets the number of times this call rule is valid, if it's set
|
1650
|
+
to null its infinitely valid.
|
1651
|
+
</summary>
|
1652
|
+
<value></value>
|
1653
|
+
</member>
|
1654
|
+
<member name="T:FakeItEasy.Core.CallInterceptedEventArgs">
|
1655
|
+
<summary>
|
1656
|
+
Represents an event that happens when a call has been intercepted by a proxy.
|
1657
|
+
</summary>
|
1658
|
+
</member>
|
1659
|
+
<member name="M:FakeItEasy.Core.CallInterceptedEventArgs.#ctor(FakeItEasy.Core.IWritableFakeObjectCall)">
|
1660
|
+
<summary>
|
1661
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.CallInterceptedEventArgs"/> class.
|
1662
|
+
</summary>
|
1663
|
+
<param name="call">The call.</param>
|
1664
|
+
</member>
|
1665
|
+
<member name="P:FakeItEasy.Core.CallInterceptedEventArgs.Call">
|
1666
|
+
<summary>
|
1667
|
+
Gets the call that was intercepted.
|
1668
|
+
</summary>
|
1669
|
+
<value>The call.</value>
|
1670
|
+
</member>
|
1671
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.CallData">
|
1672
|
+
<summary>
|
1673
|
+
DTO for recorded calls.
|
1674
|
+
</summary>
|
1675
|
+
</member>
|
1676
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.CallData.#ctor(System.Reflection.MethodInfo,System.Collections.Generic.IEnumerable{System.Object},System.Object)">
|
1677
|
+
<summary>
|
1678
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.SelfInitializedFakes.CallData"/> class.
|
1679
|
+
</summary>
|
1680
|
+
<param name="method">The method.</param>
|
1681
|
+
<param name="outputArguments">The output arguments.</param>
|
1682
|
+
<param name="returnValue">The return value.</param>
|
1683
|
+
</member>
|
1684
|
+
<member name="P:FakeItEasy.SelfInitializedFakes.CallData.Method">
|
1685
|
+
<summary>
|
1686
|
+
Gets the method that was called.
|
1687
|
+
</summary>
|
1688
|
+
<value>The method.</value>
|
1689
|
+
</member>
|
1690
|
+
<member name="P:FakeItEasy.SelfInitializedFakes.CallData.OutputArguments">
|
1691
|
+
<summary>
|
1692
|
+
Gets the output arguments of the call.
|
1693
|
+
</summary>
|
1694
|
+
<value>The output arguments.</value>
|
1695
|
+
</member>
|
1696
|
+
<member name="P:FakeItEasy.SelfInitializedFakes.CallData.ReturnValue">
|
1697
|
+
<summary>
|
1698
|
+
Gets the return value of the call.
|
1699
|
+
</summary>
|
1700
|
+
<value>The return value.</value>
|
1701
|
+
</member>
|
1702
|
+
<member name="T:FakeItEasy.Configuration.IAfterCallSpecifiedWithOutAndRefParametersConfiguration">
|
1703
|
+
<summary>
|
1704
|
+
A combination of the IAfterCallSpecifiedConfiguration and IOutAndRefParametersConfiguration
|
1705
|
+
interfaces.
|
1706
|
+
</summary>
|
1707
|
+
</member>
|
1708
|
+
<member name="T:FakeItEasy.Configuration.IAfterCallSpecifiedConfiguration">
|
1709
|
+
<summary>
|
1710
|
+
Lets you set up expectations and configure repeat for the configured call.
|
1711
|
+
</summary>
|
1712
|
+
</member>
|
1713
|
+
<member name="T:FakeItEasy.Configuration.IRepeatConfiguration">
|
1714
|
+
<summary>
|
1715
|
+
Provides configuration for method calls that has a return value.
|
1716
|
+
</summary>
|
1717
|
+
</member>
|
1718
|
+
<member name="M:FakeItEasy.Configuration.IRepeatConfiguration.NumberOfTimes(System.Int32)">
|
1719
|
+
<summary>
|
1720
|
+
Specifies the number of times for the configured event.
|
1721
|
+
</summary>
|
1722
|
+
<param name="numberOfTimesToRepeat">The number of times to repeat.</param>
|
1723
|
+
</member>
|
1724
|
+
<member name="T:FakeItEasy.Configuration.IArgumentValidationConfiguration`1">
|
1725
|
+
<summary>
|
1726
|
+
Provides configurations to validate arguments of a fake object call.
|
1727
|
+
</summary>
|
1728
|
+
<typeparam name="TInterface">The type of interface to return.</typeparam>
|
1729
|
+
</member>
|
1730
|
+
<member name="M:FakeItEasy.Configuration.IArgumentValidationConfiguration`1.WhenArgumentsMatch(System.Func{FakeItEasy.Core.ArgumentCollection,System.Boolean})">
|
1731
|
+
<summary>
|
1732
|
+
Configures the call to be accepted when the specified predicate returns true.
|
1733
|
+
</summary>
|
1734
|
+
<param name="argumentsPredicate">The argument predicate.</param>
|
1735
|
+
<returns>A configuration object.</returns>
|
1736
|
+
</member>
|
1737
|
+
<member name="T:FakeItEasy.Configuration.IReturnValueArgumentValidationConfiguration`1">
|
1738
|
+
<summary>
|
1739
|
+
Configures a call that returns a value and allows the use to
|
1740
|
+
specify validations for arguments.
|
1741
|
+
</summary>
|
1742
|
+
<typeparam name="TMember">The type of the member.</typeparam>
|
1743
|
+
</member>
|
1744
|
+
<member name="T:FakeItEasy.Configuration.IReturnValueConfiguration`1">
|
1745
|
+
<summary>
|
1746
|
+
Configures a call that returns a value.
|
1747
|
+
</summary>
|
1748
|
+
<typeparam name="TMember">The type of the member.</typeparam>
|
1749
|
+
</member>
|
1750
|
+
<member name="M:FakeItEasy.Configuration.IReturnValueConfiguration`1.Returns(`0)">
|
1751
|
+
<summary>
|
1752
|
+
Specifies the value to return when the configured call is made.
|
1753
|
+
</summary>
|
1754
|
+
<param name="value">The value to return.</param>
|
1755
|
+
<returns>A configuration object.</returns>
|
1756
|
+
</member>
|
1757
|
+
<member name="M:FakeItEasy.Configuration.IReturnValueConfiguration`1.Returns(System.Func{`0})">
|
1758
|
+
<summary>
|
1759
|
+
Specifies a function used to produce a return value when the configured call is made.
|
1760
|
+
The function will be called each time this call is made and can return different values
|
1761
|
+
each time.
|
1762
|
+
</summary>
|
1763
|
+
<param name="valueProducer">A function that produces the return value.</param>
|
1764
|
+
<returns>A configuration object.</returns>
|
1765
|
+
</member>
|
1766
|
+
<member name="M:FakeItEasy.Configuration.IReturnValueConfiguration`1.Returns(System.Func{FakeItEasy.Core.IFakeObjectCall,`0})">
|
1767
|
+
<summary>
|
1768
|
+
Specifies a function used to produce a return value when the configured call is made.
|
1769
|
+
The function will be called each time this call is made and can return different values
|
1770
|
+
each time.
|
1771
|
+
</summary>
|
1772
|
+
<param name="valueProducer">A function that produces the return value.</param>
|
1773
|
+
<returns>A configuration object.</returns>
|
1774
|
+
</member>
|
1775
|
+
<member name="T:FakeItEasy.Configuration.IVoidArgumentValidationConfiguration">
|
1776
|
+
<summary>
|
1777
|
+
Provides configuration methods for methods that does not have a return value and
|
1778
|
+
allows the use to specify validations for arguments.
|
1779
|
+
</summary>
|
1780
|
+
</member>
|
1781
|
+
<member name="T:FakeItEasy.DynamicProxy.DynamicProxyProxyGenerator">
|
1782
|
+
<summary>
|
1783
|
+
An implementation of the IProxyGenerator interface that uses DynamicProxy2 to
|
1784
|
+
generate proxies.
|
1785
|
+
</summary>
|
1786
|
+
</member>
|
1787
|
+
<member name="T:FakeItEasy.Core.Creation.IProxyGenerator">
|
1788
|
+
<summary>
|
1789
|
+
Represents a generator that can generate proxies that emits events when calls are intercepted.
|
1790
|
+
</summary>
|
1791
|
+
</member>
|
1792
|
+
<member name="M:FakeItEasy.Core.Creation.IProxyGenerator.GenerateProxy(System.Type,System.Collections.Generic.IEnumerable{System.Type},FakeItEasy.Core.FakeObject,System.Collections.Generic.IEnumerable{System.Object})">
|
1793
|
+
<summary>
|
1794
|
+
Gets a value indicating if a proxy of the specified type can be generated and sets the generated proxy
|
1795
|
+
to the out parameter if it can.
|
1796
|
+
</summary>
|
1797
|
+
<param name="typeToProxy">The type to generate a proxy for.</param>
|
1798
|
+
<param name="fakeObject">The generated proxy must implement the IFakedProxy interface and this is the fake object
|
1799
|
+
that should be returned for the call to GetFakeObject().</param>
|
1800
|
+
<param name="argumentsForConstructor">Arguments to use for the constructor of the proxied type.</param>
|
1801
|
+
<param name="additionalInterfacesToImplement">Any extra interfaces to be implemented by the generated proxy.</param>
|
1802
|
+
<returns>True if the proxy could be generated.</returns>
|
1803
|
+
<exception cref="T:System.ArgumentException">The arguments in argumentsForConstructor does not match any constructor
|
1804
|
+
of the proxied type.</exception>
|
1805
|
+
</member>
|
1806
|
+
<member name="M:FakeItEasy.Core.Creation.IProxyGenerator.MemberCanBeIntercepted(System.Reflection.MemberInfo)">
|
1807
|
+
<summary>
|
1808
|
+
Gets a value indicating if the specified member can be intercepted on a proxied
|
1809
|
+
instance.
|
1810
|
+
</summary>
|
1811
|
+
<param name="member">The member to check.</param>
|
1812
|
+
<returns>True if the member can be intercepted, otherwise false.</returns>
|
1813
|
+
</member>
|
1814
|
+
<member name="M:FakeItEasy.DynamicProxy.DynamicProxyProxyGenerator.GenerateProxy(System.Type,System.Collections.Generic.IEnumerable{System.Type},FakeItEasy.Core.FakeObject,System.Collections.Generic.IEnumerable{System.Object})">
|
1815
|
+
<summary>
|
1816
|
+
Gets a value indicating if a proxy of the specified type can be generated and sets the generated proxy
|
1817
|
+
to the out parameter if it can.
|
1818
|
+
</summary>
|
1819
|
+
<param name="typeToProxy">The type to generate a proxy for.</param>
|
1820
|
+
<param name="additionalInterfacesToImplement">Any extra interfaces to be implemented by the generated proxy.</param>
|
1821
|
+
<param name="fakeObject">The generated proxy must implement the IFakedProxy interface and this is the fake object
|
1822
|
+
that should be returned for the call to GetFakeObject().</param>
|
1823
|
+
<param name="argumentsForConstructor">Arguments to use for the constructor of the proxied type.</param>
|
1824
|
+
<returns>True if the proxy could be generated.</returns>
|
1825
|
+
<exception cref="T:System.ArgumentException">The arguments in argumentsForConstructor does not match any constructor
|
1826
|
+
of the proxied type.</exception>
|
1827
|
+
</member>
|
1828
|
+
<member name="M:FakeItEasy.DynamicProxy.DynamicProxyProxyGenerator.MemberCanBeIntercepted(System.Reflection.MemberInfo)">
|
1829
|
+
<summary>
|
1830
|
+
Gets a value indicating if the specified member can be intercepted on a proxied
|
1831
|
+
instance.
|
1832
|
+
</summary>
|
1833
|
+
<param name="member">The member to check.</param>
|
1834
|
+
<returns>
|
1835
|
+
True if the member can be intercepted, otherwise false.
|
1836
|
+
</returns>
|
1837
|
+
</member>
|
1838
|
+
<member name="T:FakeItEasy.Core.Creation.ProxyResult">
|
1839
|
+
<summary>
|
1840
|
+
Represents a result from an IProxyGenerator.
|
1841
|
+
</summary>
|
1842
|
+
</member>
|
1843
|
+
<member name="M:FakeItEasy.Core.Creation.ProxyResult.#ctor(System.Type)">
|
1844
|
+
<summary>
|
1845
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.Creation.ProxyResult"/> class.
|
1846
|
+
</summary>
|
1847
|
+
<param name="proxiedType">Type of the proxied.</param>
|
1848
|
+
</member>
|
1849
|
+
<member name="P:FakeItEasy.Core.Creation.ProxyResult.ProxiedType">
|
1850
|
+
<summary>
|
1851
|
+
Gets the type of the generated proxy.
|
1852
|
+
</summary>
|
1853
|
+
<value>The type of the generated proxy.</value>
|
1854
|
+
</member>
|
1855
|
+
<member name="P:FakeItEasy.Core.Creation.ProxyResult.ProxyWasSuccessfullyCreated">
|
1856
|
+
<summary>
|
1857
|
+
Gets a value indicating whether the proxy was successfully created.
|
1858
|
+
</summary>
|
1859
|
+
<value>
|
1860
|
+
<c>true</c> If proxy was successfully created; otherwise, <c>false</c>.
|
1861
|
+
</value>
|
1862
|
+
</member>
|
1863
|
+
<member name="P:FakeItEasy.Core.Creation.ProxyResult.ErrorMessage">
|
1864
|
+
<summary>
|
1865
|
+
Gets an error message when the proxy was not successfully created.
|
1866
|
+
</summary>
|
1867
|
+
<value>The error message.</value>
|
1868
|
+
</member>
|
1869
|
+
<member name="P:FakeItEasy.Core.Creation.ProxyResult.Proxy">
|
1870
|
+
<summary>
|
1871
|
+
Gets the generated proxy when successfully generated.
|
1872
|
+
</summary>
|
1873
|
+
<value>The generated proxy.</value>
|
1874
|
+
</member>
|
1875
|
+
<member name="E:FakeItEasy.Core.Creation.ProxyResult.CallWasIntercepted">
|
1876
|
+
<summary>
|
1877
|
+
Occurs when a call to the proxy was intercepted.
|
1878
|
+
</summary>
|
1879
|
+
</member>
|
1880
|
+
<member name="T:FakeItEasy.DynamicProxy.ICanInterceptObjectMembers">
|
1881
|
+
<summary>
|
1882
|
+
An interface implemented by DynamicProxy proxies in order to let them
|
1883
|
+
intercept object members.
|
1884
|
+
|
1885
|
+
NOT INTENDED FOR USE! Note that this interface WILL be removed from future versions of FakeItEasy.
|
1886
|
+
</summary>
|
1887
|
+
</member>
|
1888
|
+
<member name="M:FakeItEasy.DynamicProxy.ICanInterceptObjectMembers.ToString">
|
1889
|
+
<summary>
|
1890
|
+
Returns a <see cref="T:System.String"/> that represents this instance.
|
1891
|
+
</summary>
|
1892
|
+
<returns>
|
1893
|
+
A <see cref="T:System.String"/> that represents this instance.
|
1894
|
+
</returns>
|
1895
|
+
</member>
|
1896
|
+
<member name="M:FakeItEasy.DynamicProxy.ICanInterceptObjectMembers.Equals(System.Object)">
|
1897
|
+
<summary>
|
1898
|
+
Determines whether the specified <see cref="T:System.Object"/> is equal to this instance.
|
1899
|
+
</summary>
|
1900
|
+
<param name="o">The <see cref="T:System.Object"/> to compare with this instance.</param>
|
1901
|
+
<returns>
|
1902
|
+
<c>true</c> if the specified <see cref="T:System.Object"/> is equal to this instance; otherwise, <c>false</c>.
|
1903
|
+
</returns>
|
1904
|
+
</member>
|
1905
|
+
<member name="M:FakeItEasy.DynamicProxy.ICanInterceptObjectMembers.GetHashCode">
|
1906
|
+
<summary>
|
1907
|
+
Returns a hash code for this instance.
|
1908
|
+
</summary>
|
1909
|
+
<returns>
|
1910
|
+
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
|
1911
|
+
</returns>
|
1912
|
+
</member>
|
1913
|
+
<member name="T:FakeItEasy.Core.MethodInfoManager">
|
1914
|
+
<summary>
|
1915
|
+
Handles comparisons of MethodInfos.
|
1916
|
+
</summary>
|
1917
|
+
</member>
|
1918
|
+
<member name="M:FakeItEasy.Core.MethodInfoManager.WillInvokeSameMethodOnTarget(System.Type,System.Reflection.MethodInfo,System.Reflection.MethodInfo)">
|
1919
|
+
<summary>
|
1920
|
+
Gets a value indicating if the two method infos would invoke the same method
|
1921
|
+
if invoked on an instance of the target type.
|
1922
|
+
</summary>
|
1923
|
+
<param name="target">The type of target for invokation.</param>
|
1924
|
+
<param name="first">The first MethodInfo.</param>
|
1925
|
+
<param name="second">The second MethodInfo.</param>
|
1926
|
+
<returns>True if the same method would be invoked.</returns>
|
1927
|
+
</member>
|
1928
|
+
<member name="T:FakeItEasy.IoC.DictionaryContainer">
|
1929
|
+
<summary>
|
1930
|
+
A simple implementation of an IoC container.
|
1931
|
+
</summary>
|
1932
|
+
</member>
|
1933
|
+
<member name="F:FakeItEasy.IoC.DictionaryContainer.registeredServices">
|
1934
|
+
<summary>
|
1935
|
+
The dictionary that stores the registered services.
|
1936
|
+
</summary>
|
1937
|
+
</member>
|
1938
|
+
<member name="M:FakeItEasy.IoC.DictionaryContainer.#ctor">
|
1939
|
+
<summary>
|
1940
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.IoC.DictionaryContainer"/> class.
|
1941
|
+
</summary>
|
1942
|
+
</member>
|
1943
|
+
<member name="M:FakeItEasy.IoC.DictionaryContainer.Resolve(System.Type)">
|
1944
|
+
<summary>
|
1945
|
+
Resolves an instance of the specified component type.
|
1946
|
+
</summary>
|
1947
|
+
<param name="componentType">Type of the component.</param>
|
1948
|
+
<returns>An instance of the component type.</returns>
|
1949
|
+
</member>
|
1950
|
+
<member name="M:FakeItEasy.IoC.DictionaryContainer.Register``1(System.Func{FakeItEasy.IoC.DictionaryContainer,``0})">
|
1951
|
+
<summary>
|
1952
|
+
Registers the specified resolver.
|
1953
|
+
</summary>
|
1954
|
+
<typeparam name="T">The type of component to register.</typeparam>
|
1955
|
+
<param name="resolver">The resolver.</param>
|
1956
|
+
</member>
|
1957
|
+
<member name="M:FakeItEasy.IoC.DictionaryContainer.RegisterSingleton``1(System.Func{FakeItEasy.IoC.DictionaryContainer,``0})">
|
1958
|
+
<summary>
|
1959
|
+
Registers the specified resolver as a singleton.
|
1960
|
+
</summary>
|
1961
|
+
<typeparam name="T">The type of component to register.</typeparam>
|
1962
|
+
<param name="resolver">The resolver.</param>
|
1963
|
+
</member>
|
1964
|
+
<member name="T:FakeItEasy.Expressions.ArgumentConstraintFactory">
|
1965
|
+
<summary>
|
1966
|
+
Responsible for creating argument constraints from arguments in an expression.
|
1967
|
+
</summary>
|
1968
|
+
</member>
|
1969
|
+
<member name="M:FakeItEasy.Expressions.ArgumentConstraintFactory.GetArgumentConstraint(System.Linq.Expressions.Expression)">
|
1970
|
+
<summary>
|
1971
|
+
Gets an argument constraint for the argument represented by the expression.
|
1972
|
+
</summary>
|
1973
|
+
<param name="argument">The argument.</param>
|
1974
|
+
<returns>An IArgumentConstraint used to validated arguments in IFakeObjectCalls.</returns>
|
1975
|
+
</member>
|
1976
|
+
<member name="T:FakeItEasy.Core.CallRuleMetadata">
|
1977
|
+
<summary>
|
1978
|
+
Keeps track of metadata for interceptions.
|
1979
|
+
</summary>
|
1980
|
+
</member>
|
1981
|
+
<member name="M:FakeItEasy.Core.CallRuleMetadata.HasNotBeenCalledSpecifiedNumberOfTimes">
|
1982
|
+
<summary>
|
1983
|
+
Gets whether the rule has been called the number of times specified or not.
|
1984
|
+
</summary>
|
1985
|
+
<returns>True if the rule has not been called the number of times specified.</returns>
|
1986
|
+
</member>
|
1987
|
+
<member name="P:FakeItEasy.Core.CallRuleMetadata.CalledNumberOfTimes">
|
1988
|
+
<summary>
|
1989
|
+
Gets or sets the number of times the rule has been used.
|
1990
|
+
</summary>
|
1991
|
+
</member>
|
1992
|
+
<member name="P:FakeItEasy.Core.CallRuleMetadata.Rule">
|
1993
|
+
<summary>
|
1994
|
+
Gets or sets the rule this metadata object is tracking.
|
1995
|
+
</summary>
|
1996
|
+
</member>
|
1997
|
+
<member name="T:FakeItEasy.Expressions.ExpressionCallMatcher">
|
1998
|
+
<summary>
|
1999
|
+
Handles the matching of fake object calls to expressions.
|
2000
|
+
</summary>
|
2001
|
+
</member>
|
2002
|
+
<member name="M:FakeItEasy.Expressions.ExpressionCallMatcher.#ctor(System.Linq.Expressions.LambdaExpression,FakeItEasy.Expressions.ArgumentConstraintFactory,FakeItEasy.Core.MethodInfoManager)">
|
2003
|
+
<summary>
|
2004
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Expressions.ExpressionCallMatcher"/> class.
|
2005
|
+
</summary>
|
2006
|
+
<param name="callSpecification">The call specification.</param>
|
2007
|
+
<param name="constraintFactory">The constraint factory.</param>
|
2008
|
+
<param name="methodInfoManager">The method infor manager to use.</param>
|
2009
|
+
</member>
|
2010
|
+
<member name="M:FakeItEasy.Expressions.ExpressionCallMatcher.Matches(FakeItEasy.Core.IFakeObjectCall)">
|
2011
|
+
<summary>
|
2012
|
+
Matcheses the specified call against the expression.
|
2013
|
+
</summary>
|
2014
|
+
<param name="call">The call to match.</param>
|
2015
|
+
<returns>True if the call is matched by the expression.</returns>
|
2016
|
+
</member>
|
2017
|
+
<member name="M:FakeItEasy.Expressions.ExpressionCallMatcher.ToString">
|
2018
|
+
<summary>
|
2019
|
+
Gets a description of the call.
|
2020
|
+
</summary>
|
2021
|
+
<returns>Description of the call.</returns>
|
2022
|
+
</member>
|
2023
|
+
<member name="T:FakeItEasy.Core.NullFakeObjectContainer">
|
2024
|
+
<summary>
|
2025
|
+
A null implementation for the IFakeObjectContainer interface.
|
2026
|
+
</summary>
|
2027
|
+
</member>
|
2028
|
+
<member name="M:FakeItEasy.Core.NullFakeObjectContainer.TryCreateFakeObject(System.Type,System.Object@)">
|
2029
|
+
<summary>
|
2030
|
+
Always returns false and sets the fakeObject to null.
|
2031
|
+
</summary>
|
2032
|
+
<param name="typeOfFake">The type of fake object to create.</param>
|
2033
|
+
<param name="fakeObject">Output variable for the fake object that will always be set to null.</param>
|
2034
|
+
<returns>Always return false.</returns>
|
2035
|
+
</member>
|
2036
|
+
<member name="M:FakeItEasy.Core.NullFakeObjectContainer.ConfigureFake(System.Type,System.Object)">
|
2037
|
+
<summary>
|
2038
|
+
Applies base configuration to a fake object.
|
2039
|
+
</summary>
|
2040
|
+
<param name="typeOfFake">The type the fake object represents.</param>
|
2041
|
+
<param name="fakeObject">The fake object to configure.</param>
|
2042
|
+
</member>
|
2043
|
+
<member name="T:FakeItEasy.Core.FakeObject">
|
2044
|
+
<summary>
|
2045
|
+
The central point in the API for proxied fake objects handles interception
|
2046
|
+
of fake object calls by using a set of rules. User defined rules can be inserted
|
2047
|
+
by using the AddRule-method.
|
2048
|
+
</summary>
|
2049
|
+
</member>
|
2050
|
+
<member name="M:FakeItEasy.Core.FakeObject.#ctor">
|
2051
|
+
<summary>
|
2052
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.FakeObject"/> class.
|
2053
|
+
</summary>
|
2054
|
+
</member>
|
2055
|
+
<member name="M:FakeItEasy.Core.FakeObject.AddRuleFirst(FakeItEasy.Core.IFakeObjectCallRule)">
|
2056
|
+
<summary>
|
2057
|
+
Adds a call rule to the fake object.
|
2058
|
+
</summary>
|
2059
|
+
<param name="rule">The rule to add.</param>
|
2060
|
+
</member>
|
2061
|
+
<member name="M:FakeItEasy.Core.FakeObject.AddRuleLast(FakeItEasy.Core.IFakeObjectCallRule)">
|
2062
|
+
<summary>
|
2063
|
+
Adds a call rule last in the list of user rules, meaning it has the lowest priority possible.
|
2064
|
+
</summary>
|
2065
|
+
<param name="rule">The rule to add.</param>
|
2066
|
+
</member>
|
2067
|
+
<member name="M:FakeItEasy.Core.FakeObject.RemoveRule(FakeItEasy.Core.IFakeObjectCallRule)">
|
2068
|
+
<summary>
|
2069
|
+
Removes the specified rule for the fake object.
|
2070
|
+
</summary>
|
2071
|
+
<param name="rule">The rule to remove.</param>
|
2072
|
+
</member>
|
2073
|
+
<member name="P:FakeItEasy.Core.FakeObject.Object">
|
2074
|
+
<summary>
|
2075
|
+
Gets the faked object.
|
2076
|
+
</summary>
|
2077
|
+
</member>
|
2078
|
+
<member name="P:FakeItEasy.Core.FakeObject.FakeObjectType">
|
2079
|
+
<summary>
|
2080
|
+
Gets the faked type.
|
2081
|
+
</summary>
|
2082
|
+
</member>
|
2083
|
+
<member name="P:FakeItEasy.Core.FakeObject.Rules">
|
2084
|
+
<summary>
|
2085
|
+
Gets the interceptions that are currently registered with the fake object.
|
2086
|
+
</summary>
|
2087
|
+
</member>
|
2088
|
+
<member name="P:FakeItEasy.Core.FakeObject.RecordedCallsInScope">
|
2089
|
+
<summary>
|
2090
|
+
Gets a collection of all the calls made to the fake object within the current scope.
|
2091
|
+
</summary>
|
2092
|
+
</member>
|
2093
|
+
<member name="T:FakeItEasy.Core.FakeObject.Factory">
|
2094
|
+
<summary>
|
2095
|
+
A delegate responsible for creating FakeObject instances.
|
2096
|
+
</summary>
|
2097
|
+
<returns></returns>
|
2098
|
+
</member>
|
2099
|
+
<member name="T:FakeItEasy.Core.ICompletedFakeObjectCall">
|
2100
|
+
<summary>
|
2101
|
+
Represents a completed call to a fake object.
|
2102
|
+
</summary>
|
2103
|
+
</member>
|
2104
|
+
<member name="P:FakeItEasy.Core.ICompletedFakeObjectCall.ReturnValue">
|
2105
|
+
<summary>
|
2106
|
+
The value set to be returned from the call.
|
2107
|
+
</summary>
|
2108
|
+
</member>
|
2109
|
+
<member name="T:FakeItEasy.DynamicProxy.InvocationCallAdapter">
|
2110
|
+
<summary>
|
2111
|
+
An adapter that adapts an <see cref="T:Castle.Core.Interceptor.IInvocation"/> to a <see cref="T:FakeItEasy.Core.IFakeObjectCall"/>.
|
2112
|
+
</summary>
|
2113
|
+
</member>
|
2114
|
+
<member name="M:FakeItEasy.DynamicProxy.InvocationCallAdapter.#ctor(Castle.Core.Interceptor.IInvocation)">
|
2115
|
+
<summary>
|
2116
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.DynamicProxy.InvocationCallAdapter"/> class.
|
2117
|
+
</summary>
|
2118
|
+
<param name="invocation">The invocation.</param>
|
2119
|
+
</member>
|
2120
|
+
<member name="M:FakeItEasy.DynamicProxy.InvocationCallAdapter.AsReadOnly">
|
2121
|
+
<summary>
|
2122
|
+
Freezes the call so that it can no longer be modified.
|
2123
|
+
</summary>
|
2124
|
+
<returns>A completed fake object call.</returns>
|
2125
|
+
</member>
|
2126
|
+
<member name="M:FakeItEasy.DynamicProxy.InvocationCallAdapter.CallBaseMethod">
|
2127
|
+
<summary>
|
2128
|
+
Calls the base method, should not be used with interface types.
|
2129
|
+
</summary>
|
2130
|
+
</member>
|
2131
|
+
<member name="M:FakeItEasy.DynamicProxy.InvocationCallAdapter.SetArgumentValue(System.Int32,System.Object)">
|
2132
|
+
<summary>
|
2133
|
+
Sets the specified value to the argument at the specified index.
|
2134
|
+
</summary>
|
2135
|
+
<param name="index">The index of the argument to set the value to.</param>
|
2136
|
+
<param name="value">The value to set to the argument.</param>
|
2137
|
+
</member>
|
2138
|
+
<member name="M:FakeItEasy.DynamicProxy.InvocationCallAdapter.SetReturnValue(System.Object)">
|
2139
|
+
<summary>
|
2140
|
+
Sets the return value of the call.
|
2141
|
+
</summary>
|
2142
|
+
<param name="returnValue">The return value.</param>
|
2143
|
+
</member>
|
2144
|
+
<member name="M:FakeItEasy.DynamicProxy.InvocationCallAdapter.ToString">
|
2145
|
+
<summary>
|
2146
|
+
Returns a description of the call.
|
2147
|
+
</summary>
|
2148
|
+
<returns>
|
2149
|
+
A <see cref="T:System.String"/> that represents this instance.
|
2150
|
+
</returns>
|
2151
|
+
</member>
|
2152
|
+
<member name="P:FakeItEasy.DynamicProxy.InvocationCallAdapter.Method">
|
2153
|
+
<summary>
|
2154
|
+
The method that's called.
|
2155
|
+
</summary>
|
2156
|
+
</member>
|
2157
|
+
<member name="P:FakeItEasy.DynamicProxy.InvocationCallAdapter.Arguments">
|
2158
|
+
<summary>
|
2159
|
+
The arguments used in the call.
|
2160
|
+
</summary>
|
2161
|
+
</member>
|
2162
|
+
<member name="P:FakeItEasy.DynamicProxy.InvocationCallAdapter.ReturnValue">
|
2163
|
+
<summary>
|
2164
|
+
The value set to be returned from the call.
|
2165
|
+
</summary>
|
2166
|
+
</member>
|
2167
|
+
<member name="P:FakeItEasy.DynamicProxy.InvocationCallAdapter.FakedObject">
|
2168
|
+
<summary>
|
2169
|
+
The faked object the call is performed on.
|
2170
|
+
</summary>
|
2171
|
+
<value></value>
|
2172
|
+
</member>
|
2173
|
+
<member name="T:FakeItEasy.Core.WrappedObjectRule">
|
2174
|
+
<summary>
|
2175
|
+
A call rule that applies to any call and just delegates the
|
2176
|
+
call to the wrapped object.
|
2177
|
+
</summary>
|
2178
|
+
</member>
|
2179
|
+
<member name="M:FakeItEasy.Core.WrappedObjectRule.#ctor(System.Object)">
|
2180
|
+
<summary>
|
2181
|
+
Creates a new instance.
|
2182
|
+
</summary>
|
2183
|
+
<param name="wrappedInstance">The object to wrap.</param>
|
2184
|
+
</member>
|
2185
|
+
<member name="M:FakeItEasy.Core.WrappedObjectRule.IsApplicableTo(FakeItEasy.Core.IFakeObjectCall)">
|
2186
|
+
<summary>
|
2187
|
+
Gets wether this interceptor is applicable to the specified
|
2188
|
+
call, if true is returned the Apply-method of the interceptor will
|
2189
|
+
be called.
|
2190
|
+
</summary>
|
2191
|
+
<param name="fakeObjectCall">The call to check for applicability.</param>
|
2192
|
+
<returns>True if the interceptor is applicable.</returns>
|
2193
|
+
</member>
|
2194
|
+
<member name="M:FakeItEasy.Core.WrappedObjectRule.Apply(FakeItEasy.Core.IInterceptedFakeObjectCall)">
|
2195
|
+
<summary>
|
2196
|
+
Applies an action to the call, might set a return value or throw
|
2197
|
+
an exception.
|
2198
|
+
</summary>
|
2199
|
+
<param name="fakeObjectCall">The call to apply the interceptor to.</param>
|
2200
|
+
</member>
|
2201
|
+
<member name="P:FakeItEasy.Core.WrappedObjectRule.NumberOfTimesToCall">
|
2202
|
+
<summary>
|
2203
|
+
Gets the number of times this call rule is valid, if it's set
|
2204
|
+
to null its infinitely valid.
|
2205
|
+
</summary>
|
2206
|
+
<value></value>
|
2207
|
+
</member>
|
2208
|
+
<member name="T:FakeItEasy.ExpectationException">
|
2209
|
+
<summary>
|
2210
|
+
An exception thrown when an expection is not met (when asserting on fake object calls).
|
2211
|
+
</summary>
|
2212
|
+
</member>
|
2213
|
+
<member name="M:FakeItEasy.ExpectationException.#ctor">
|
2214
|
+
<summary>
|
2215
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.ExpectationException"/> class.
|
2216
|
+
</summary>
|
2217
|
+
</member>
|
2218
|
+
<member name="M:FakeItEasy.ExpectationException.#ctor(System.String)">
|
2219
|
+
<summary>
|
2220
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.ExpectationException"/> class.
|
2221
|
+
</summary>
|
2222
|
+
<param name="message">The message.</param>
|
2223
|
+
</member>
|
2224
|
+
<member name="M:FakeItEasy.ExpectationException.#ctor(System.String,System.Exception)">
|
2225
|
+
<summary>
|
2226
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.ExpectationException"/> class.
|
2227
|
+
</summary>
|
2228
|
+
<param name="message">The message.</param>
|
2229
|
+
<param name="innerException">The inner exception.</param>
|
2230
|
+
</member>
|
2231
|
+
<member name="M:FakeItEasy.ExpectationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
2232
|
+
<summary>
|
2233
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.ExpectationException"/> class.
|
2234
|
+
</summary>
|
2235
|
+
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
|
2236
|
+
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
|
2237
|
+
<exception cref="T:System.ArgumentNullException">
|
2238
|
+
The <paramref name="info"/> parameter is null.
|
2239
|
+
</exception>
|
2240
|
+
<exception cref="T:System.Runtime.Serialization.SerializationException">
|
2241
|
+
The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0).
|
2242
|
+
</exception>
|
2243
|
+
</member>
|
2244
|
+
<member name="T:FakeItEasy.Expressions.ExpressionCallRule">
|
2245
|
+
<summary>
|
2246
|
+
An implementation of the <see cref="T:FakeItEasy.Core.IFakeObjectCallRule"/> interface that uses
|
2247
|
+
expressions for evaluating if the rule is applicable to a specific call.
|
2248
|
+
</summary>
|
2249
|
+
</member>
|
2250
|
+
<member name="M:FakeItEasy.Expressions.ExpressionCallRule.#ctor(FakeItEasy.Expressions.ExpressionCallMatcher)">
|
2251
|
+
<summary>
|
2252
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Expressions.ExpressionCallRule"/> class.
|
2253
|
+
</summary>
|
2254
|
+
<param name="expressionMatcher">The expression matcher to use.</param>
|
2255
|
+
</member>
|
2256
|
+
<member name="M:FakeItEasy.Expressions.ExpressionCallRule.ToString">
|
2257
|
+
<summary>
|
2258
|
+
Returns a <see cref="T:System.String"/> that represents this instance.
|
2259
|
+
</summary>
|
2260
|
+
<returns>
|
2261
|
+
A <see cref="T:System.String"/> that represents this instance.
|
2262
|
+
</returns>
|
2263
|
+
</member>
|
2264
|
+
<member name="P:FakeItEasy.Expressions.ExpressionCallRule.ExpressionMatcher">
|
2265
|
+
<summary>
|
2266
|
+
Gets the expression matcher used by this rule.
|
2267
|
+
</summary>
|
2268
|
+
</member>
|
2269
|
+
<member name="T:FakeItEasy.Expressions.ExpressionCallRule.Factory">
|
2270
|
+
<summary>
|
2271
|
+
Handles the instantiation of ExpressionCallRule instance.
|
2272
|
+
</summary>
|
2273
|
+
<param name="callSpecification">An expression specifying the call.</param>
|
2274
|
+
<returns>A rule instance.</returns>
|
2275
|
+
</member>
|
2276
|
+
<member name="T:FakeItEasy.Configuration.RuleBuilder.Factory">
|
2277
|
+
<summary>
|
2278
|
+
Represents a delegate that creates a configuration object from
|
2279
|
+
a fake object and the rule to build.
|
2280
|
+
</summary>
|
2281
|
+
<param name="fakeObject">The fake object the rule is for.</param>
|
2282
|
+
<param name="ruleBeingBuilt">The rule that's being built.</param>
|
2283
|
+
<returns>A configuration object.</returns>
|
2284
|
+
</member>
|
2285
|
+
<member name="T:FakeItEasy.ExtensionSyntax.Full.FullExtensionSyntax">
|
2286
|
+
<summary>
|
2287
|
+
Provides extension methods for configuring and asserting on faked objects
|
2288
|
+
without going through the static methods of the Fake-class.
|
2289
|
+
</summary>
|
2290
|
+
</member>
|
2291
|
+
<member name="M:FakeItEasy.ExtensionSyntax.Full.FullExtensionSyntax.CallsTo``2(``0,System.Linq.Expressions.Expression{System.Func{``0,``1}})">
|
2292
|
+
<summary>
|
2293
|
+
Configures the behavior of the fake object when a call that matches the specified
|
2294
|
+
call happens.
|
2295
|
+
</summary>
|
2296
|
+
<typeparam name="TMember">The type of the return value of the member.</typeparam>
|
2297
|
+
<param name="callSpecification">An expression that specifies the calls to configure.</param>
|
2298
|
+
<param name="fakedObject">The faked object to configure.</param>
|
2299
|
+
<typeparam name="TFake">The type of fake object to configure.</typeparam>
|
2300
|
+
<returns>A configuration object.</returns>
|
2301
|
+
</member>
|
2302
|
+
<member name="M:FakeItEasy.ExtensionSyntax.Full.FullExtensionSyntax.CallsTo``1(``0,System.Linq.Expressions.Expression{System.Action{``0}})">
|
2303
|
+
<summary>
|
2304
|
+
Configures the behavior of the fake object when a call that matches the specified
|
2305
|
+
call happens.
|
2306
|
+
</summary>
|
2307
|
+
<param name="fakedObject">The faked object to configure.</param>
|
2308
|
+
<typeparam name="TFake">The type of fake object to configure.</typeparam>
|
2309
|
+
<param name="callSpecification">An expression that specifies the calls to configure.</param>
|
2310
|
+
<returns>A configuration object.</returns>
|
2311
|
+
</member>
|
2312
|
+
<member name="M:FakeItEasy.ExtensionSyntax.Full.FullExtensionSyntax.AnyCall``1(``0)">
|
2313
|
+
<summary>
|
2314
|
+
Configures the behavior of the fake object when a call is made to any method on the
|
2315
|
+
object.
|
2316
|
+
</summary>
|
2317
|
+
<typeparam name="TFake">The type of the fake.</typeparam>
|
2318
|
+
<param name="fakedObject">The faked object.</param>
|
2319
|
+
<returns>A configuration object.</returns>
|
2320
|
+
</member>
|
2321
|
+
<member name="T:FakeItEasy.ExtensionSyntax.Syntax">
|
2322
|
+
<summary>
|
2323
|
+
Provides an extension method for configuring fake objects.
|
2324
|
+
</summary>
|
2325
|
+
</member>
|
2326
|
+
<member name="M:FakeItEasy.ExtensionSyntax.Syntax.Configure``1(``0)">
|
2327
|
+
<summary>
|
2328
|
+
Gets an object that provides a fluent interface syntax for configuring
|
2329
|
+
the fake object.
|
2330
|
+
</summary>
|
2331
|
+
<typeparam name="TFake">The type of the fake object.</typeparam>
|
2332
|
+
<param name="fakedObject">The fake object to configure.</param>
|
2333
|
+
<returns>A configuration object.</returns>
|
2334
|
+
<exception cref="T:System.ArgumentNullException">The fakedObject was null.</exception>
|
2335
|
+
<exception cref="T:System.ArgumentException">The object passed in is not a faked object.</exception>
|
2336
|
+
</member>
|
2337
|
+
<member name="T:FakeItEasy.FakeExtensions">
|
2338
|
+
<summary>
|
2339
|
+
Provides extension methods for fake objects.
|
2340
|
+
</summary>
|
2341
|
+
</member>
|
2342
|
+
<member name="M:FakeItEasy.FakeExtensions.Once(FakeItEasy.Configuration.IRepeatConfiguration)">
|
2343
|
+
<summary>
|
2344
|
+
Specifies NumberOfTimes(1) to the IRepeatConfiguration{TFake}.
|
2345
|
+
</summary>
|
2346
|
+
<param name="configuration">The configuration to set repeat 1 to.</param>
|
2347
|
+
</member>
|
2348
|
+
<member name="M:FakeItEasy.FakeExtensions.Twice(FakeItEasy.Configuration.IRepeatConfiguration)">
|
2349
|
+
<summary>
|
2350
|
+
Specifies NumberOfTimes(2) to the IRepeatConfiguration{TFake}.
|
2351
|
+
</summary>
|
2352
|
+
<param name="configuration">The configuration to set repeat 2 to.</param>
|
2353
|
+
</member>
|
2354
|
+
<member name="M:FakeItEasy.FakeExtensions.ReturnsNull``1(FakeItEasy.Configuration.IReturnValueConfiguration{``0})">
|
2355
|
+
<summary>
|
2356
|
+
Specifies that the configured call/calls should return null when called.
|
2357
|
+
</summary>
|
2358
|
+
<typeparam name="TMember">The type of the faked member.</typeparam>
|
2359
|
+
<param name="configuration">The configuration to apply to.</param>
|
2360
|
+
<returns>A configuration object.</returns>
|
2361
|
+
</member>
|
2362
|
+
<member name="M:FakeItEasy.FakeExtensions.WithAnyArguments``1(FakeItEasy.Configuration.IArgumentValidationConfiguration{``0})">
|
2363
|
+
<summary>
|
2364
|
+
Specifies that a call to the configured call should be applied no matter what arguments
|
2365
|
+
are used in the call to the faked object.
|
2366
|
+
</summary>
|
2367
|
+
<param name="configuration">The configuration.</param>
|
2368
|
+
<returns>A configuration object</returns>
|
2369
|
+
</member>
|
2370
|
+
<member name="M:FakeItEasy.FakeExtensions.Matching``1(System.Collections.Generic.IEnumerable{FakeItEasy.Core.ICompletedFakeObjectCall},System.Linq.Expressions.Expression{System.Action{``0}})">
|
2371
|
+
<summary>
|
2372
|
+
Filters to contain only the calls that matches the call specification.
|
2373
|
+
</summary>
|
2374
|
+
<typeparam name="TFake">The type of fake the call is made on.</typeparam>
|
2375
|
+
<param name="calls">The calls to filter.</param>
|
2376
|
+
<param name="callSpecification">The call to match on.</param>
|
2377
|
+
<returns>A collection of the calls that matches the call specification.</returns>
|
2378
|
+
</member>
|
2379
|
+
<member name="M:FakeItEasy.FakeExtensions.MustHaveHappened(FakeItEasy.Configuration.IAssertConfiguration)">
|
2380
|
+
<summary>
|
2381
|
+
Asserts that the specified call must have happened once or more.
|
2382
|
+
</summary>
|
2383
|
+
<param name="configuration">The configuration to assert on.</param>
|
2384
|
+
</member>
|
2385
|
+
<member name="M:FakeItEasy.FakeExtensions.MustNotHaveHappened(FakeItEasy.Configuration.IAssertConfiguration)">
|
2386
|
+
<summary>
|
2387
|
+
Asserts that the specified has not happened.
|
2388
|
+
</summary>
|
2389
|
+
<param name="configuration">The configuration to assert on.</param>
|
2390
|
+
</member>
|
2391
|
+
<member name="M:FakeItEasy.FakeExtensions.ReturnsNextFromSequence``1(FakeItEasy.Configuration.IReturnValueConfiguration{``0},``0[])">
|
2392
|
+
<summary>
|
2393
|
+
Configures the call to return the next value from the specified sequence each time it's called. Null will
|
2394
|
+
be returned when all the values in the sequence has been returned.
|
2395
|
+
</summary>
|
2396
|
+
<typeparam name="T">The type of return value.</typeparam>
|
2397
|
+
<param name="configuration">The call configuration to extend.</param>
|
2398
|
+
<param name="values">The values to return in sequence.</param>
|
2399
|
+
<returns>A configuration object.</returns>
|
2400
|
+
</member>
|
2401
|
+
<member name="T:FakeItEasy.Core.ArgumentCollection">
|
2402
|
+
<summary>
|
2403
|
+
A collection of method arguments.
|
2404
|
+
</summary>
|
2405
|
+
</member>
|
2406
|
+
<member name="F:FakeItEasy.Core.ArgumentCollection.arguments">
|
2407
|
+
<summary>
|
2408
|
+
The arguments this collection contains.
|
2409
|
+
</summary>
|
2410
|
+
</member>
|
2411
|
+
<member name="M:FakeItEasy.Core.ArgumentCollection.#ctor(System.Object[],System.Collections.Generic.IEnumerable{System.String})">
|
2412
|
+
<summary>
|
2413
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.ArgumentCollection"/> class.
|
2414
|
+
</summary>
|
2415
|
+
<param name="arguments">The arguments.</param>
|
2416
|
+
<param name="argumentNames">The argument names.</param>
|
2417
|
+
</member>
|
2418
|
+
<member name="M:FakeItEasy.Core.ArgumentCollection.#ctor(System.Object[],System.Reflection.MethodInfo)">
|
2419
|
+
<summary>
|
2420
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Core.ArgumentCollection"/> class.
|
2421
|
+
</summary>
|
2422
|
+
<param name="arguments">The arguments.</param>
|
2423
|
+
<param name="method">The method.</param>
|
2424
|
+
</member>
|
2425
|
+
<member name="M:FakeItEasy.Core.ArgumentCollection.Get``1(System.Int32)">
|
2426
|
+
<summary>
|
2427
|
+
Gets the argument at the specified index.
|
2428
|
+
</summary>
|
2429
|
+
<typeparam name="T">The type of the argument to get.</typeparam>
|
2430
|
+
<param name="index">The index of the argument.</param>
|
2431
|
+
<returns>The argument at the specified index.</returns>
|
2432
|
+
</member>
|
2433
|
+
<member name="M:FakeItEasy.Core.ArgumentCollection.Get``1(System.String)">
|
2434
|
+
<summary>
|
2435
|
+
Gets the argument with the specified name.
|
2436
|
+
</summary>
|
2437
|
+
<typeparam name="T">The type of the argument to get.</typeparam>
|
2438
|
+
<param name="argumentName">The name of the argument.</param>
|
2439
|
+
<returns>The argument with the specified name.</returns>
|
2440
|
+
</member>
|
2441
|
+
<member name="M:FakeItEasy.Core.ArgumentCollection.AsEnumerable">
|
2442
|
+
<summary>
|
2443
|
+
Converts the ArgumentCollection to an enumerable that enumerates the argument values.
|
2444
|
+
</summary>
|
2445
|
+
<returns>An IEnumerable(object).</returns>
|
2446
|
+
</member>
|
2447
|
+
<member name="P:FakeItEasy.Core.ArgumentCollection.Empty">
|
2448
|
+
<summary>
|
2449
|
+
Gets an empty ArgumentList.
|
2450
|
+
</summary>
|
2451
|
+
</member>
|
2452
|
+
<member name="P:FakeItEasy.Core.ArgumentCollection.Count">
|
2453
|
+
<summary>
|
2454
|
+
Gets the number of arguments in the list.
|
2455
|
+
</summary>
|
2456
|
+
</member>
|
2457
|
+
<member name="P:FakeItEasy.Core.ArgumentCollection.ArgumentNames">
|
2458
|
+
<summary>
|
2459
|
+
Gets the names of the arguments in the list.
|
2460
|
+
</summary>
|
2461
|
+
</member>
|
2462
|
+
<member name="P:FakeItEasy.Core.ArgumentCollection.Item(System.Int32)">
|
2463
|
+
<summary>
|
2464
|
+
Gets the argument at the specified index.
|
2465
|
+
</summary>
|
2466
|
+
<param name="argumentIndex">The index of the argument to get.</param>
|
2467
|
+
<returns>The argument at the specified index.</returns>
|
2468
|
+
</member>
|
2469
|
+
<member name="T:FakeItEasy.Expressions.ExpressionManager">
|
2470
|
+
<summary>
|
2471
|
+
Handles operations on expressions.
|
2472
|
+
</summary>
|
2473
|
+
</member>
|
2474
|
+
<member name="M:FakeItEasy.Expressions.ExpressionManager.GetValueProducedByExpression(System.Linq.Expressions.Expression)">
|
2475
|
+
<summary>
|
2476
|
+
Gets the value produced by the specified expression when compiled and invoked.
|
2477
|
+
</summary>
|
2478
|
+
<param name="expression">The expression to get the value from.</param>
|
2479
|
+
<returns>The value produced by the expression.</returns>
|
2480
|
+
</member>
|
2481
|
+
<member name="T:FakeItEasy.Core.FakeScope">
|
2482
|
+
<summary>
|
2483
|
+
Represents a scope for fake objects, calls configured within a scope
|
2484
|
+
are only valid within that scope. Only calls made wihtin a scope
|
2485
|
+
are accessible from within a scope so for example asserts will only
|
2486
|
+
assert on those calls done within the scope.
|
2487
|
+
</summary>
|
2488
|
+
</member>
|
2489
|
+
<member name="M:FakeItEasy.Core.FakeScope.Create">
|
2490
|
+
<summary>
|
2491
|
+
Creates a new scope and sets it as the current scope.
|
2492
|
+
</summary>
|
2493
|
+
<returns>The created scope.</returns>
|
2494
|
+
</member>
|
2495
|
+
<member name="M:FakeItEasy.Core.FakeScope.Create(FakeItEasy.Core.IFakeObjectContainer)">
|
2496
|
+
<summary>
|
2497
|
+
Creates a new scope and sets it as the current scope, using the specified
|
2498
|
+
container as the container for the new scope.
|
2499
|
+
</summary>
|
2500
|
+
<param name="container">The container to usee for the new scope.</param>
|
2501
|
+
<returns>The created scope.</returns>
|
2502
|
+
</member>
|
2503
|
+
<member name="M:FakeItEasy.Core.FakeScope.Dispose">
|
2504
|
+
<summary>
|
2505
|
+
Closes the scope.
|
2506
|
+
</summary>
|
2507
|
+
</member>
|
2508
|
+
<member name="M:FakeItEasy.Core.FakeScope.AddInterceptedCall(FakeItEasy.Core.FakeObject,FakeItEasy.Core.ICompletedFakeObjectCall)">
|
2509
|
+
<summary>
|
2510
|
+
Adds an intercepted call to the current scope.
|
2511
|
+
</summary>
|
2512
|
+
<param name="fakeObject">The fake object.</param>
|
2513
|
+
<param name="call">The call that is intercepted.</param>
|
2514
|
+
</member>
|
2515
|
+
<member name="M:FakeItEasy.Core.FakeScope.AddRuleFirst(FakeItEasy.Core.FakeObject,FakeItEasy.Core.CallRuleMetadata)">
|
2516
|
+
<summary>
|
2517
|
+
Adds a fake object call to the current scope.
|
2518
|
+
</summary>
|
2519
|
+
<param name="fakeObject">The fake object.</param>
|
2520
|
+
<param name="rule">The rule to add.</param>
|
2521
|
+
</member>
|
2522
|
+
<member name="T:FakeItEasy.Guard">
|
2523
|
+
<summary>
|
2524
|
+
Provides methods for guarding method arguments.
|
2525
|
+
</summary>
|
2526
|
+
</member>
|
2527
|
+
<member name="M:FakeItEasy.Guard.AgainstNull(System.Object,System.String)">
|
2528
|
+
<summary>
|
2529
|
+
Throws an exception if the specified argument is null.
|
2530
|
+
</summary>
|
2531
|
+
<param name="argument">The argument.</param>
|
2532
|
+
<param name="argumentName">Name of the argument.</param>
|
2533
|
+
<exception cref="T:System.ArgumentNullException">The specified argument was null.</exception>
|
2534
|
+
</member>
|
2535
|
+
<member name="M:FakeItEasy.Guard.IsInRange``1(``0,``0,``0,System.String)">
|
2536
|
+
<summary>
|
2537
|
+
Throws an exception if the specified argument is not in the given range.
|
2538
|
+
</summary>
|
2539
|
+
<typeparam name="T"></typeparam>
|
2540
|
+
<param name="argument">The argument.</param>
|
2541
|
+
<param name="lowerBound">The lower bound.</param>
|
2542
|
+
<param name="upperBound">The upper bound.</param>
|
2543
|
+
<param name="argumentName">Name of the argument.</param>
|
2544
|
+
<exception cref="T:System.ArgumentOutOfRangeException">The specified argument was not in the given range.</exception>
|
2545
|
+
</member>
|
2546
|
+
<member name="M:FakeItEasy.Guard.AgainstNullOrEmpty(System.String,System.String)">
|
2547
|
+
<summary>
|
2548
|
+
Throws an ArgumentNullException if the specified string is null or empty.
|
2549
|
+
</summary>
|
2550
|
+
<param name="value">The value to guard.</param>
|
2551
|
+
<param name="argumentName">Name of the argument.</param>
|
2552
|
+
</member>
|
2553
|
+
<member name="T:FakeItEasy.Core.IFakedProxy">
|
2554
|
+
<summary>
|
2555
|
+
Interface implemented by generated faked objects in order
|
2556
|
+
to access the fake object behind it.
|
2557
|
+
</summary>
|
2558
|
+
</member>
|
2559
|
+
<member name="P:FakeItEasy.Core.IFakedProxy.FakeObject">
|
2560
|
+
<summary>
|
2561
|
+
Gets the fake object behind a faked object.
|
2562
|
+
</summary>
|
2563
|
+
<returns>A fake object.</returns>
|
2564
|
+
</member>
|
2565
|
+
<member name="T:FakeItEasy.Core.IEventRaiserArguments">
|
2566
|
+
<summary>
|
2567
|
+
Used by the event raising rule of fake objects to get the event arguments used in
|
2568
|
+
a call to Raise.With.
|
2569
|
+
</summary>
|
2570
|
+
</member>
|
2571
|
+
<member name="P:FakeItEasy.Core.IEventRaiserArguments.Sender">
|
2572
|
+
<summary>
|
2573
|
+
The sender of the event.
|
2574
|
+
</summary>
|
2575
|
+
</member>
|
2576
|
+
<member name="P:FakeItEasy.Core.IEventRaiserArguments.EventArguments">
|
2577
|
+
<summary>
|
2578
|
+
The event arguments of the event.
|
2579
|
+
</summary>
|
2580
|
+
</member>
|
2581
|
+
<member name="T:FakeItEasy.Fake">
|
2582
|
+
<summary>
|
2583
|
+
Provides static methods for accessing fake objects.
|
2584
|
+
</summary>
|
2585
|
+
</member>
|
2586
|
+
<member name="M:FakeItEasy.Fake.GetFakeObject(System.Object)">
|
2587
|
+
<summary>
|
2588
|
+
Gets the fake object that manages the faked object.
|
2589
|
+
</summary>
|
2590
|
+
<param name="fakedObject">The faked object to get the manager object for.</param>
|
2591
|
+
<returns>The fake object manager.</returns>
|
2592
|
+
</member>
|
2593
|
+
<member name="M:FakeItEasy.Fake.CreateScope">
|
2594
|
+
<summary>
|
2595
|
+
Creates a new scope and sets it as the current scope. When inside a scope the
|
2596
|
+
getting the calls made to a fake will return only the calls within that scope and when
|
2597
|
+
asserting that calls were made, the calls must have been made within that scope.
|
2598
|
+
</summary>
|
2599
|
+
<returns>The created scope.</returns>
|
2600
|
+
</member>
|
2601
|
+
<member name="M:FakeItEasy.Fake.CreateScope(FakeItEasy.Core.IFakeObjectContainer)">
|
2602
|
+
<summary>
|
2603
|
+
Creates a new scope and sets it as the current scope. When inside a scope the
|
2604
|
+
getting the calls made to a fake will return only the calls within that scope and when
|
2605
|
+
asserting that calls were made, the calls must have been made within that scope.
|
2606
|
+
</summary>
|
2607
|
+
<param name="container">The container to use within the specified scope.</param>
|
2608
|
+
<returns>The created scope.</returns>
|
2609
|
+
</member>
|
2610
|
+
<member name="M:FakeItEasy.Fake.Equals(System.Object,System.Object)">
|
2611
|
+
<summary>
|
2612
|
+
Gets a value indicating if the two objects are equal.
|
2613
|
+
</summary>
|
2614
|
+
<param name="objA">The first object to compare.</param>
|
2615
|
+
<param name="objB">The second object to compare.</param>
|
2616
|
+
<returns>True if the two objects are equal.</returns>
|
2617
|
+
</member>
|
2618
|
+
<member name="M:FakeItEasy.Fake.ReferenceEquals(System.Object,System.Object)">
|
2619
|
+
<summary>
|
2620
|
+
Gets a value indicating if the two objects are the same reference.
|
2621
|
+
</summary>
|
2622
|
+
<param name="objA">The obj A.</param>
|
2623
|
+
<param name="objB">The obj B.</param>
|
2624
|
+
<returns>True if the objects are the same reference.</returns>
|
2625
|
+
</member>
|
2626
|
+
<member name="M:FakeItEasy.Fake.GetCalls(System.Object)">
|
2627
|
+
<summary>
|
2628
|
+
Gets all the calls made to the specified fake object.
|
2629
|
+
</summary>
|
2630
|
+
<param name="fakedObject">The faked object.</param>
|
2631
|
+
<returns>A collection containing the calls to the object.</returns>
|
2632
|
+
<exception cref="T:System.ArgumentException">The object passed in is not a faked object.</exception>
|
2633
|
+
</member>
|
2634
|
+
<member name="T:FakeItEasy.Fake`1">
|
2635
|
+
<summary>
|
2636
|
+
Represents a fake object that provides an api for configuring a faked object, exposed by the
|
2637
|
+
FakedObject-property.
|
2638
|
+
</summary>
|
2639
|
+
<typeparam name="T">The type of the faked object.</typeparam>
|
2640
|
+
</member>
|
2641
|
+
<member name="M:FakeItEasy.Fake`1.#ctor">
|
2642
|
+
<summary>
|
2643
|
+
Creates a new fake object.
|
2644
|
+
</summary>
|
2645
|
+
</member>
|
2646
|
+
<member name="M:FakeItEasy.Fake`1.#ctor(System.Action{FakeItEasy.Core.Creation.IFakeOptionsBuilder{`0}})">
|
2647
|
+
<summary>
|
2648
|
+
Creates a new fake object using the specified options.
|
2649
|
+
</summary>
|
2650
|
+
<param name="options">Options used to create the fake object.</param>
|
2651
|
+
</member>
|
2652
|
+
<member name="M:FakeItEasy.Fake`1.CallsTo(System.Linq.Expressions.Expression{System.Action{`0}})">
|
2653
|
+
<summary>
|
2654
|
+
Configures calls to the specified member.
|
2655
|
+
</summary>
|
2656
|
+
<param name="callSpecification">An expression specifying the call to configure.</param>
|
2657
|
+
<returns>A configuration object.</returns>
|
2658
|
+
</member>
|
2659
|
+
<member name="M:FakeItEasy.Fake`1.CallsTo``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
|
2660
|
+
<summary>
|
2661
|
+
Configures calls to the specified member.
|
2662
|
+
</summary>
|
2663
|
+
<typeparam name="TMember">The type of value the member returns.</typeparam>
|
2664
|
+
<param name="callSpecification">An expression specifying the call to configure.</param>
|
2665
|
+
<returns>A configuration object.</returns>
|
2666
|
+
</member>
|
2667
|
+
<member name="M:FakeItEasy.Fake`1.AnyCall">
|
2668
|
+
<summary>
|
2669
|
+
Configures any call to the fake object.
|
2670
|
+
</summary>
|
2671
|
+
<returns>A configuration object.</returns>
|
2672
|
+
</member>
|
2673
|
+
<member name="M:FakeItEasy.Fake`1.FakeItEasy#Configuration#IHideObjectMembers#GetType">
|
2674
|
+
<summary>
|
2675
|
+
Represents a fake object that provides an api for configuring a faked object, exposed by the
|
2676
|
+
FakedObject-property.
|
2677
|
+
</summary>
|
2678
|
+
<typeparam name="T">The type of the faked object.</typeparam>
|
2679
|
+
</member>
|
2680
|
+
<member name="P:FakeItEasy.Fake`1.FakedObject">
|
2681
|
+
<summary>
|
2682
|
+
Gets the faked object.
|
2683
|
+
</summary>
|
2684
|
+
</member>
|
2685
|
+
<member name="P:FakeItEasy.Fake`1.RecordedCalls">
|
2686
|
+
<summary>
|
2687
|
+
Gets all calls made to the faked object.
|
2688
|
+
</summary>
|
2689
|
+
</member>
|
2690
|
+
<member name="T:FakeItEasy.Raise">
|
2691
|
+
<summary>
|
2692
|
+
Allows the developer to raise an event on a faked object.
|
2693
|
+
</summary>
|
2694
|
+
</member>
|
2695
|
+
<member name="M:FakeItEasy.Raise.With``1(System.Object,``0)">
|
2696
|
+
<summary>
|
2697
|
+
Raises an event on a faked object by attatching the event handler produced by the method
|
2698
|
+
to the event that is to be raised.
|
2699
|
+
</summary>
|
2700
|
+
<typeparam name="TEventArgs">The type of the event args.</typeparam>
|
2701
|
+
<param name="sender">The sender of the event.</param>
|
2702
|
+
<param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
|
2703
|
+
<returns>A Raise(TEventArgs)-object that exposes the eventhandler to attatch.</returns>
|
2704
|
+
</member>
|
2705
|
+
<member name="M:FakeItEasy.Raise.With``1(``0)">
|
2706
|
+
<summary>
|
2707
|
+
Raises an event on a faked object by attatching the event handler produced by the method
|
2708
|
+
to the event that is to be raised.
|
2709
|
+
</summary>
|
2710
|
+
<typeparam name="TEventArgs">The type of the event arguments.</typeparam>
|
2711
|
+
<param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
|
2712
|
+
<returns>
|
2713
|
+
A Raise(TEventArgs)-object that exposes the eventhandler to attatch.
|
2714
|
+
</returns>
|
2715
|
+
</member>
|
2716
|
+
<member name="M:FakeItEasy.Raise.WithEmpty">
|
2717
|
+
<summary>
|
2718
|
+
Raises an event with empty event arguments on a faked object by attatching the event handler produced by the method
|
2719
|
+
to the event that is to be raised.
|
2720
|
+
</summary>
|
2721
|
+
<returns>
|
2722
|
+
A Raise(TEventArgs)-object that exposes the eventhandler to attatch.
|
2723
|
+
</returns>
|
2724
|
+
</member>
|
2725
|
+
<member name="T:FakeItEasy.Raise`1">
|
2726
|
+
<summary>
|
2727
|
+
A class exposing an event handler to attatch to an event of a faked object
|
2728
|
+
in order to raise that event.
|
2729
|
+
</summary>
|
2730
|
+
<typeparam name="TEventArgs">The type of the event args.</typeparam>
|
2731
|
+
</member>
|
2732
|
+
<member name="M:FakeItEasy.Raise`1.Now(System.Object,`0)">
|
2733
|
+
<summary>
|
2734
|
+
Register this event handler to an event on a faked object in order to raise that event.
|
2735
|
+
</summary>
|
2736
|
+
<param name="sender">The sender of the event.</param>
|
2737
|
+
<param name="e">Event args for the event.</param>
|
2738
|
+
</member>
|
2739
|
+
<member name="P:FakeItEasy.Raise`1.Go">
|
2740
|
+
<summary>
|
2741
|
+
Gets a generic event handler to attatch to the event to raise.
|
2742
|
+
</summary>
|
2743
|
+
</member>
|
2744
|
+
<member name="T:FakeItEasy.RootModule">
|
2745
|
+
<summary>
|
2746
|
+
Handles the registration of root dependencies in an IoC-container.
|
2747
|
+
</summary>
|
2748
|
+
</member>
|
2749
|
+
<member name="M:FakeItEasy.RootModule.RegisterDependencies(FakeItEasy.IoC.DictionaryContainer)">
|
2750
|
+
<summary>
|
2751
|
+
Registers the dependencies.
|
2752
|
+
</summary>
|
2753
|
+
<param name="container">The container to register the dependencies in.</param>
|
2754
|
+
</member>
|
2755
|
+
<member name="T:FakeItEasy.CommonExtensions">
|
2756
|
+
<summary>
|
2757
|
+
Provides extension methods for the common uses.
|
2758
|
+
</summary>
|
2759
|
+
</member>
|
2760
|
+
<member name="M:FakeItEasy.CommonExtensions.FormatInvariant(System.String,System.Object[])">
|
2761
|
+
<summary>
|
2762
|
+
Replaces the format item in a specified System.String with the text equivalent
|
2763
|
+
of the value of a corresponding System.Object instance in a specified array using
|
2764
|
+
invariant culture as <see cref="T:System.IFormatProvider"/>.
|
2765
|
+
</summary>
|
2766
|
+
<param name="format">A composite format string.</param>
|
2767
|
+
<param name="arguments">An <see cref="T:System.Object"/> array containing zero or more objects to format.</param>
|
2768
|
+
<returns>The formatted string.</returns>
|
2769
|
+
</member>
|
2770
|
+
<member name="M:FakeItEasy.CommonExtensions.Zip``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``1})">
|
2771
|
+
<summary>
|
2772
|
+
Gets an enumerable of tuples where the first value of each tuple is a value
|
2773
|
+
from the first collection and the second value of each tuple is the value at the same postion
|
2774
|
+
from the second collection.
|
2775
|
+
</summary>
|
2776
|
+
<typeparam name="TFirst">The type of values in the first collection.</typeparam>
|
2777
|
+
<typeparam name="TSecond">The type of values in the second collection.</typeparam>
|
2778
|
+
<param name="firstCollection">The first of the collections to combine.</param>
|
2779
|
+
<param name="secondCollection">The second of the collections to combine.</param>
|
2780
|
+
<returns>An enumerable of tuples.</returns>
|
2781
|
+
</member>
|
2782
|
+
<member name="M:FakeItEasy.CommonExtensions.ToCollectionString``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.String},System.String)">
|
2783
|
+
<summary>
|
2784
|
+
Joins the collection to a string.
|
2785
|
+
</summary>
|
2786
|
+
<typeparam name="T">The type of items in the collection.</typeparam>
|
2787
|
+
<param name="items">The items to join.</param>
|
2788
|
+
<param name="separator">Separator to insert between each item.</param>
|
2789
|
+
<param name="stringConverter">A function that converts from an item to a string value.</param>
|
2790
|
+
<returns>A string representation of the collection.</returns>
|
2791
|
+
</member>
|
2792
|
+
<member name="M:FakeItEasy.CommonExtensions.Distinct``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">
|
2793
|
+
<summary>
|
2794
|
+
Selects a subset of the sequence so that the values returned from the projection run on
|
2795
|
+
each item in the sequence are distinct.
|
2796
|
+
</summary>
|
2797
|
+
<typeparam name="T">The type of items in the collection.</typeparam>
|
2798
|
+
<typeparam name="TMember">The result of the projection.</typeparam>
|
2799
|
+
<param name="sequence">The sequence to filter.</param>
|
2800
|
+
<param name="projection">A projection from the type of items in the sequence to another type.</param>
|
2801
|
+
<returns>The distinct elements.</returns>
|
2802
|
+
</member>
|
2803
|
+
<member name="T:FakeItEasy.SmellyAttribute">
|
2804
|
+
<summary>
|
2805
|
+
An attribute that can be applied to code that should be fixed becuase theres a
|
2806
|
+
code smell.
|
2807
|
+
</summary>
|
2808
|
+
</member>
|
2809
|
+
<member name="P:FakeItEasy.SmellyAttribute.Description">
|
2810
|
+
<summary>
|
2811
|
+
A description of the smell.
|
2812
|
+
</summary>
|
2813
|
+
</member>
|
2814
|
+
<member name="T:FakeItEasy.Tuple`2">
|
2815
|
+
<summary>
|
2816
|
+
Represents a tuple of two values.
|
2817
|
+
</summary>
|
2818
|
+
<typeparam name="TFirst">The first value.</typeparam>
|
2819
|
+
<typeparam name="TSecond">The second value.</typeparam>
|
2820
|
+
</member>
|
2821
|
+
<member name="M:FakeItEasy.Tuple`2.#ctor(`0,`1)">
|
2822
|
+
<summary>
|
2823
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.Tuple`2"/> class.
|
2824
|
+
</summary>
|
2825
|
+
<param name="first">The first.</param>
|
2826
|
+
<param name="second">The second.</param>
|
2827
|
+
</member>
|
2828
|
+
<member name="P:FakeItEasy.Tuple`2.First">
|
2829
|
+
<summary>
|
2830
|
+
Gets the first value.
|
2831
|
+
</summary>
|
2832
|
+
<value>The first.</value>
|
2833
|
+
</member>
|
2834
|
+
<member name="P:FakeItEasy.Tuple`2.Second">
|
2835
|
+
<summary>
|
2836
|
+
Gets the second value.
|
2837
|
+
</summary>
|
2838
|
+
<value>The second.</value>
|
2839
|
+
</member>
|
2840
|
+
<member name="T:FakeItEasy.VisualBasic.IVisualBasicConfiguration">
|
2841
|
+
<summary>
|
2842
|
+
Configurations for visual basic.
|
2843
|
+
</summary>
|
2844
|
+
</member>
|
2845
|
+
<member name="T:FakeItEasy.VisualBasic.IVisualBasicConfigurationWithArgumentValidation">
|
2846
|
+
<summary>
|
2847
|
+
Provides configuration from VisualBasic.
|
2848
|
+
</summary>
|
2849
|
+
</member>
|
2850
|
+
<member name="T:FakeItEasy.Core.RecordedCallRule">
|
2851
|
+
<summary>
|
2852
|
+
A call rule that has been recorded.
|
2853
|
+
</summary>
|
2854
|
+
</member>
|
2855
|
+
<member name="T:FakeItEasy.VisualBasic.RecordingCallRule`1">
|
2856
|
+
<summary>
|
2857
|
+
A call rule that "sits and waits" for the next call, when
|
2858
|
+
that call occurs the recorded rule is added for that call.
|
2859
|
+
</summary>
|
2860
|
+
</member>
|
2861
|
+
<member name="T:FakeItEasy.VisualBasic.NextCall">
|
2862
|
+
<summary>
|
2863
|
+
Lets you specify options for the next call to a fake object.
|
2864
|
+
</summary>
|
2865
|
+
</member>
|
2866
|
+
<member name="M:FakeItEasy.VisualBasic.NextCall.To``1(``0)">
|
2867
|
+
<summary>
|
2868
|
+
Specifies options for the next call to the specified fake object. The next call will
|
2869
|
+
be recorded as a call configuration.
|
2870
|
+
</summary>
|
2871
|
+
<typeparam name="TFake">The type of the faked object.</typeparam>
|
2872
|
+
<param name="fake">The faked object to configure.</param>
|
2873
|
+
<returns>A call configuration object.</returns>
|
2874
|
+
</member>
|
2875
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.RecordingManager">
|
2876
|
+
<summary>
|
2877
|
+
Manages the applying of recorded calls and recording of new calls when
|
2878
|
+
using self initialized fakes.
|
2879
|
+
</summary>
|
2880
|
+
</member>
|
2881
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingManager.#ctor(FakeItEasy.SelfInitializedFakes.ICallStorage)">
|
2882
|
+
<summary>
|
2883
|
+
Initializes a new instance of the <see cref="T:FakeItEasy.SelfInitializedFakes.RecordingManager"/> class.
|
2884
|
+
</summary>
|
2885
|
+
<param name="storage">The storage.</param>
|
2886
|
+
</member>
|
2887
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingManager.ApplyNext(FakeItEasy.Core.IInterceptedFakeObjectCall)">
|
2888
|
+
<summary>
|
2889
|
+
Applies the call if the call has been recorded.
|
2890
|
+
</summary>
|
2891
|
+
<param name="call">The call to apply to from recording.</param>
|
2892
|
+
</member>
|
2893
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingManager.RecordCall(FakeItEasy.Core.ICompletedFakeObjectCall)">
|
2894
|
+
<summary>
|
2895
|
+
Records the specified call.
|
2896
|
+
</summary>
|
2897
|
+
<param name="call">The call to record.</param>
|
2898
|
+
</member>
|
2899
|
+
<member name="M:FakeItEasy.SelfInitializedFakes.RecordingManager.Dispose">
|
2900
|
+
<summary>
|
2901
|
+
Saves all recorded calls to the storage.
|
2902
|
+
</summary>
|
2903
|
+
</member>
|
2904
|
+
<member name="P:FakeItEasy.SelfInitializedFakes.RecordingManager.IsRecording">
|
2905
|
+
<summary>
|
2906
|
+
Gets a value indicating if the recorder is currently recording.
|
2907
|
+
</summary>
|
2908
|
+
<value></value>
|
2909
|
+
</member>
|
2910
|
+
<member name="T:FakeItEasy.SelfInitializedFakes.RecordingManager.Factory">
|
2911
|
+
<summary>
|
2912
|
+
Represents a factory responsible for creating recording manager
|
2913
|
+
instances.
|
2914
|
+
</summary>
|
2915
|
+
<param name="storage">The storage the manager should use.</param>
|
2916
|
+
<returns>A RecordingManager instance.</returns>
|
2917
|
+
</member>
|
2918
|
+
</members>
|
2919
|
+
</doc>
|