Commit 8974346
Changed files (29)
build
lib
test
rhino.mocks
product
testing
unit
infrastructure
cloning
container
logging
proxies
registries
thirdparty
rhino.mocks
build/lib/app/jetbrains/JetBrains.Annotations.dll
Binary file
build/lib/app/jetbrains/JetBrains.Annotations.pdb
Binary file
build/lib/app/jetbrains/JetBrains.Annotations.xml
@@ -1,144 +0,0 @@
-<?xml version="1.0"?>
-<doc>
- <assembly>
- <name>JetBrains.Annotations</name>
- </assembly>
- <members>
- <member name="T:JetBrains.Annotations.StringFormatMethodAttribute">
- <summary>
- Indicates that marked method builds string by format pattern and (optional) arguments.
- Parameter, which contains format string, should be given in constructor.
- The format string should be in <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])"/> -like form
- </summary>
- </member>
- <member name="M:JetBrains.Annotations.StringFormatMethodAttribute.#ctor(System.String)">
- <summary>
- Initializes new instance of StringFormatMethodAttribute
- </summary>
- <param name="formatParameterName">Specifies which parameter of an annotated method should be treated as format-string</param>
- </member>
- <member name="P:JetBrains.Annotations.StringFormatMethodAttribute.FormatParameterName">
- <summary>
- Gets format parameter name
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.InvokerParameterNameAttribute">
- <summary>
- Indicates that the function argument should be string literal and match one of the parameters of the caller function.
- For example, <see cref="T:System.ArgumentNullException"/> has such parameter.
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.AssertionMethodAttribute">
- <summary>
- Indicates that the marked method is assertion method, i.e. it halts control flow if one of the conditions is satisfied.
- To set the condition, mark one of the parameters with <see cref="T:JetBrains.Annotations.AssertionConditionAttribute"/> attribute
- </summary>
- <seealso cref="T:JetBrains.Annotations.AssertionConditionAttribute"/>
- </member>
- <member name="T:JetBrains.Annotations.AssertionConditionAttribute">
- <summary>
- Indicates the condition parameter of the assertion method.
- The method itself should be marked by <see cref="T:JetBrains.Annotations.AssertionMethodAttribute"/> attribute.
- The mandatory argument of the attribute is the assertion type.
- </summary>
- <seealso cref="T:JetBrains.Annotations.AssertionConditionType"/>
- </member>
- <member name="M:JetBrains.Annotations.AssertionConditionAttribute.#ctor(JetBrains.Annotations.AssertionConditionType)">
- <summary>
- Initializes new instance of AssertionConditionAttribute
- </summary>
- <param name="conditionType">Specifies condition type</param>
- </member>
- <member name="P:JetBrains.Annotations.AssertionConditionAttribute.ConditionType">
- <summary>
- Gets condition type
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.AssertionConditionType">
- <summary>
- Specifies assertion type. If the assertion method argument satisifes the condition, then the execution continues.
- Otherwise, execution is assumed to be halted
- </summary>
- </member>
- <member name="F:JetBrains.Annotations.AssertionConditionType.IS_TRUE">
- <summary>
- Indicates that the marked parameter should be evaluated to true
- </summary>
- </member>
- <member name="F:JetBrains.Annotations.AssertionConditionType.IS_FALSE">
- <summary>
- Indicates that the marked parameter should be evaluated to false
- </summary>
- </member>
- <member name="F:JetBrains.Annotations.AssertionConditionType.IS_NULL">
- <summary>
- Indicates that the marked parameter should be evaluated to null value
- </summary>
- </member>
- <member name="F:JetBrains.Annotations.AssertionConditionType.IS_NOT_NULL">
- <summary>
- Indicates that the marked parameter should be evaluated to not null value
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.TerminatesProgramAttribute">
- <summary>
- Indicates that the marked method unconditionally terminates control flow execution.
- For example, it could unconditionally throw exception
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.CanBeNullAttribute">
- <summary>
- Indicates that the value of marked element could be <c>null</c> sometimes, so the check for <c>null</c> is necessary before its usage
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.NotNullAttribute">
- <summary>
- Indicates that the value of marked element could never be <c>null</c>
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.CannotApplyEqualityOperatorAttribute">
- <summary>
- Indicates that the value of marked type (or its derivatives) cannot be compared using '==' or '!=' operators.
- There is only exception to compare with <c>null</c>, it is permitted
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.BaseTypeRequiredAttribute">
- <summary>
- When applied to target attribute, specifies a requirement for any type which is marked with
- target attribute to implement or inherit specific type or types
- </summary>
- <example>
- <code>
- [BaseTypeRequired(typeof(IComponent)] // Specify requirement
- public class ComponentAttribute : Attribute
- {}
-
- [Component] // ComponentAttribute requires implementing IComponent interface
- public class MyComponent : IComponent
- {}
- </code>
- </example>
- </member>
- <member name="M:JetBrains.Annotations.BaseTypeRequiredAttribute.#ctor(System.Type[])">
- <summary>
- Initializes new instance of BaseTypeRequiredAttribute
- </summary>
- <param name="baseTypes">Specifies which types are required</param>
- </member>
- <member name="P:JetBrains.Annotations.BaseTypeRequiredAttribute.BaseTypes">
- <summary>
- Gets enumerations of specified base types
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.UsedImplicitlyAttribute">
- <summary>
- Indicates that the marked symbol is used implicitly (ex. reflection, external library), so this symbol will not be marked as unused (as well as by other usage inspections)
- </summary>
- </member>
- <member name="T:JetBrains.Annotations.MeansImplicitUseAttribute">
- <summary>
- Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes as unused (as well as by other usage inspections)
- </summary>
- </member>
- </members>
-</doc>
build/lib/test/rhino.mocks/Rhino.Mocks.dll
Binary file
product/testing/unit/infrastructure/cloning/BinarySerializerSpecs.cs
@@ -6,7 +6,7 @@ using Machine.Specifications;
namespace gorilla.commons.testing.unit.infrastructure.cloning
{
- [Concern(typeof (BinarySerializer<TestItem>))]
+ [Subject(typeof (BinarySerializer<TestItem>))]
public abstract class when_a_file_is_specified_to_serialize_an_item_to
{
static Serializer<TestItem> create_sut()
@@ -30,7 +30,7 @@ namespace gorilla.commons.testing.unit.infrastructure.cloning
static protected Serializer<TestItem> sut;
}
- [Concern(typeof (BinarySerializer<TestItem>))]
+ [Subject(typeof (BinarySerializer<TestItem>))]
public class when_serializing_an_item : when_a_file_is_specified_to_serialize_an_item_to
{
It should_serialize_the_item_to_a_file = () => File.Exists(file_name).should_be_true();
@@ -38,7 +38,7 @@ namespace gorilla.commons.testing.unit.infrastructure.cloning
Because b = () => sut.serialize(new TestItem(string.Empty));
}
- [Concern(typeof (BinarySerializer<TestItem>))]
+ [Subject(typeof (BinarySerializer<TestItem>))]
public class when_deserializing_an_item : when_a_file_is_specified_to_serialize_an_item_to
{
It should_be_able_to_deserialize_from_a_serialized_file = () => result.should_be_equal_to(original);
product/testing/unit/infrastructure/container/ResolveSpecs.cs
@@ -6,10 +6,10 @@ using Machine.Specifications;
namespace gorilla.commons.testing.unit.infrastructure.container
{
- [Concern(typeof (Resolve))]
+ [Subject(typeof (Resolve))]
public abstract class behaves_like_a_inversion_of_control_container
{
- [Concern(typeof (Resolve))]
+ [Subject(typeof (Resolve))]
public class when_resolving_a_dependency_using_the_container : behaves_like_a_inversion_of_control_container
{
Establish c = () =>
@@ -37,7 +37,7 @@ namespace gorilla.commons.testing.unit.infrastructure.container
static Command presenter;
}
- [Concern(typeof (Resolve))]
+ [Subject(typeof (Resolve))]
public class when_resolving_a_dependency_that_is_not_registered_ : behaves_like_a_inversion_of_control_container
{
Establish c = () =>
product/testing/unit/infrastructure/logging/LogSpecs.cs
@@ -5,7 +5,7 @@ using Machine.Specifications;
namespace gorilla.commons.testing.unIt.infrastructure.logging
{
- [Concern(typeof (Log))]
+ [Subject(typeof (Log))]
public class when_creating_a_logger_for_a_particular_type
{
It should_return_the_logger_created_for_that_type = () => result.should_be_equal_to(logger);
product/testing/unit/infrastructure/proxies/ProxyFactorySpecs.cs
@@ -6,7 +6,7 @@ namespace gorilla.commons.testing.unit.infrastructure.proxies
{
public class ProxyFactorySpecs
{
- [Concern(typeof (ProxyFactory))]
+ [Subject(typeof (ProxyFactory))]
public class when_proxying_a_class_with_interceptors_applied
{
Establish c = () =>
product/testing/unit/infrastructure/registries/DefaultRegistrySpecs.cs
@@ -7,7 +7,7 @@ using Machine.Specifications;
namespace gorilla.commons.testing.unit.infrastructure.registries
{
- [Concern(typeof (DefaultRegistry<int>))]
+ [Subject(typeof (DefaultRegistry<int>))]
public class when_retrieving_all_the_items_from_the_default_repository
{
It should_leverage_the_resolver_to_retrieve_all_the_implementations =
product/testing/unit/utility/DateSpecs.cs
@@ -6,7 +6,7 @@ namespace gorilla.commons.testing.unit.utility
{
public class DateSpecs
{
- [Concern(typeof (Date))]
+ [Subject(typeof (Date))]
public class when_two_dates_that_represent_the_same_day_are_asked_if_they_are_equal
{
It should_return_true = () => result.should_be_equal_to(true);
@@ -19,7 +19,7 @@ namespace gorilla.commons.testing.unit.utility
static bool result;
}
- [Concern(typeof (Date))]
+ [Subject(typeof (Date))]
public class when_an_older_date_is_compared_to_a_younger_date
{
It should_return_a_positive_number = () => result.should_be_greater_than(0);
product/testing/unit/utility/EnumerableExtensionsSpecs.cs
@@ -7,7 +7,7 @@ namespace gorilla.commons.testing.unit.utility
{
public class EnumerableExtensionsSpecs
{
- [Concern(typeof (EnumerableExtensions))]
+ [Subject(typeof (EnumerableExtensions))]
public class when_joining_one_collection_with_another
{
It should_return_the_items_from_both = () =>
@@ -24,7 +24,7 @@ namespace gorilla.commons.testing.unit.utility
static IEnumerable<int> results;
}
- [Concern(typeof (EnumerableExtensions))]
+ [Subject(typeof (EnumerableExtensions))]
public class when_attemping_to_join_a_list_with_a_null_value
{
It should_return_the_original_list = () => new List<int> {1}.join_with(null).should_contain(1);
product/testing/unit/utility/ListExtensionsSpecs.cs
@@ -7,7 +7,7 @@ namespace gorilla.commons.testing.unit.utility
{
public class ListExtensionsSpecs
{
- [Concern(typeof (ListExtensions))]
+ [Subject(typeof (ListExtensions))]
public class when_adding_an_item_to_a_list
{
Because b = () =>
@@ -21,7 +21,7 @@ namespace gorilla.commons.testing.unit.utility
static List<string> list;
}
- [Concern(typeof (ListExtensions))]
+ [Subject(typeof (ListExtensions))]
public abstract class when_asked_to_only_add_an_item_to_a_list_if_a_condition_is_not_met
{
Establish c = () =>
@@ -32,7 +32,7 @@ namespace gorilla.commons.testing.unit.utility
static protected List<string> list;
}
- [Concern(typeof (ListExtensions))]
+ [Subject(typeof (ListExtensions))]
public class when_the_condition_is_not_met : when_asked_to_only_add_an_item_to_a_list_if_a_condition_is_not_met
{
Because b = () => list.add("mo").unless(x => false);
@@ -40,7 +40,7 @@ namespace gorilla.commons.testing.unit.utility
It should_add_the_item_to_the_list = () => list.should_contain("mo");
}
- [Concern(typeof (ListExtensions))]
+ [Subject(typeof (ListExtensions))]
public class when_the_condition_is_met : when_asked_to_only_add_an_item_to_a_list_if_a_condition_is_not_met
{
Because b = () => list.add("mo").unless(x => true);
@@ -48,7 +48,7 @@ namespace gorilla.commons.testing.unit.utility
It should_not_add_the_item_to_the_list = () => list.should_not_contain("mo");
}
- [Concern(typeof (ListExtensions))]
+ [Subject(typeof (ListExtensions))]
public class when_some_of_the_items_meet_the_conditions_and_some_do_not :
when_asked_to_only_add_an_item_to_a_list_if_a_condition_is_not_met
{
product/testing/unit/utility/MappingExtensionsSpecs.cs
@@ -4,7 +4,7 @@ using Machine.Specifications;
namespace gorilla.commons.testing.unit.utility
{
- [Concern(typeof (MappingExtensions))]
+ [Subject(typeof (MappingExtensions))]
public class when_transforming_type_A_to_type_B_then_C
{
It should_return_the_correct_result = () => result.should_be_equal_to(1);
product/testing/unit/utility/NotSpecificationSpecs.cs
@@ -6,7 +6,7 @@ namespace gorilla.commons.testing.unit.utility
{
public class NotSpecificationSpecs
{
- [Concern(typeof (NotSpecification<>))]
+ [Subject(typeof (NotSpecification<>))]
public class when_checking_if_a_condition_is_not_met
{
static protected Specification<int> criteria;
@@ -25,7 +25,7 @@ namespace gorilla.commons.testing.unit.utility
}
}
- [Concern(typeof (NotSpecification<>))]
+ [Subject(typeof (NotSpecification<>))]
public class when_a_condition_is_not_met : when_checking_if_a_condition_is_not_met
{
Establish c = () => criteria.is_told_to(x => x.is_satisfied_by(1)).it_will_return(false);
@@ -40,7 +40,7 @@ namespace gorilla.commons.testing.unit.utility
static bool result;
}
- [Concern(typeof (NotSpecification<>))]
+ [Subject(typeof (NotSpecification<>))]
public class when_a_condition_is_met : when_checking_if_a_condition_is_not_met
{
Establish c = () => criteria.is_told_to(x => x.is_satisfied_by(1)).it_will_return(true);
product/testing/unit/utility/NumericConversionsSpecs.cs
@@ -4,7 +4,7 @@ using Machine.Specifications;
namespace gorilla.commons.testing.unit.utility
{
- [Concern(typeof (NumericConversions))]
+ [Subject(typeof (NumericConversions))]
public class when_converting_a_valid_string_to_a_long
{
It should_return_the_correct_result = () => result.should_be_equal_to(88L);
@@ -17,7 +17,7 @@ namespace gorilla.commons.testing.unit.utility
static string valid_numeric_string;
}
- [Concern(typeof (NumericConversions))]
+ [Subject(typeof (NumericConversions))]
public class when_converting_a_valid_string_to_an_int
{
It should_return_the_correct_result = () => result.should_be_equal_to(66);
product/testing/unit/utility/OrSpecificationSpecs.cs
@@ -6,7 +6,7 @@ namespace gorilla.commons.testing.unit.utility
{
public class OrSpecificationSpecs
{
- [Concern(typeof (OrSpecification<>))]
+ [Subject(typeof (OrSpecification<>))]
public abstract class when_checking_if_one_of_two_conditions_are_met
{
static Specification<int> create_sut()
@@ -26,7 +26,7 @@ namespace gorilla.commons.testing.unit.utility
static protected Specification<int> sut;
}
- [Concern(typeof (OrSpecification<>))]
+ [Subject(typeof (OrSpecification<>))]
public class when_one_of_the_conditions_is_met : when_checking_if_one_of_two_conditions_are_met
{
It should_return_true = () => result.should_be_true();
@@ -41,7 +41,7 @@ namespace gorilla.commons.testing.unit.utility
static bool result;
}
- [Concern(typeof (OrSpecification<>))]
+ [Subject(typeof (OrSpecification<>))]
public class when_the_second_condition_is_met : when_checking_if_one_of_two_conditions_are_met
{
It should_return_true = () => result.should_be_true();
@@ -56,7 +56,7 @@ namespace gorilla.commons.testing.unit.utility
static bool result;
}
- [Concern(typeof (OrSpecification<>))]
+ [Subject(typeof (OrSpecification<>))]
public class when_neither_conditions_are_met : when_checking_if_one_of_two_conditions_are_met
{
It should_return_false = () => result.should_be_false();
product/testing/unit/utility/PercentSpecs.cs
@@ -4,31 +4,31 @@ using Machine.Specifications;
namespace gorilla.commons.testing.unit.utility
{
- [Concern(typeof (Percent))]
+ [Subject(typeof (Percent))]
public class when_comparing_fifty_divided_by_one_hundred_to_fifty_percent
{
It they_should_be_equal = () => new Percent(50, 100).should_be_equal_to<Percent>(50);
}
- [Concern(typeof (Percent))]
+ [Subject(typeof (Percent))]
public class when_calculating_a_fractional_percentage
{
It should_return_the_correct_percentage = () => new Percent(30, 90).should_be_equal_to<Percent>(33.3);
}
- [Concern(typeof (Percent))]
+ [Subject(typeof (Percent))]
public class when_checking_if_50_percent_is_less_than_51_percent
{
It should_return_true = () => new Percent(50).is_less_than(new Percent(51)).should_be_true();
}
- [Concern(typeof (Percent))]
+ [Subject(typeof (Percent))]
public class when_checking_if_51_percent_is_less_than_50_percent
{
It should_return_false = () => new Percent(51).is_less_than(new Percent(50)).should_be_false();
}
- [Concern(typeof (Percent))]
+ [Subject(typeof (Percent))]
public class when_checking_if_50_percent_is_less_than_50_percent
{
It should_return_false = () => new Percent(50).is_less_than(new Percent(50)).should_be_false();
product/testing/unit/utility/PredicateSpecificationSpecs.cs
@@ -6,13 +6,13 @@ namespace gorilla.commons.testing.unit.utility
{
public class PredicateSpecificationSpecs
{
- [Concern(typeof (PredicateSpecification<>))]
+ [Subject(typeof (PredicateSpecification<>))]
public class when_checking_if_a_criteria_is_met_and_it_is
{
It should_return_true = () => new PredicateSpecification<int>(x => true).is_satisfied_by(1).should_be_true();
}
- [Concern(typeof (PredicateSpecification<>))]
+ [Subject(typeof (PredicateSpecification<>))]
public class when_checking_if_a_criteria_is_met_and_it_is_not
{
It should_return_true = () => new PredicateSpecification<int>(x => false).is_satisfied_by(1).should_be_false();
product/testing/unit/utility/SpecificationExtensionsSpecs.cs
@@ -18,7 +18,7 @@ namespace gorilla.commons.testing.unit.utility
static protected Specification<int> right;
}
- [Concern(typeof (SpecificationExtensions))]
+ [Subject(typeof (SpecificationExtensions))]
public class when_checking_if_two_conditions_are_met_and_they_are : when_evaluating_two_conditions
{
It should_return_true = () => result.should_be_true();
@@ -37,7 +37,7 @@ namespace gorilla.commons.testing.unit.utility
static bool result;
}
- [Concern(typeof (SpecificationExtensions))]
+ [Subject(typeof (SpecificationExtensions))]
public class when_checking_if_one_of_two_conditions_are_met_and_the_left_one_is_not : when_evaluating_two_conditions
{
It should_return_true = () => result.should_be_true();
@@ -56,7 +56,7 @@ namespace gorilla.commons.testing.unit.utility
static bool result;
}
- [Concern(typeof (SpecificationExtensions))]
+ [Subject(typeof (SpecificationExtensions))]
public class when_checking_if_one_of_two_conditions_are_met_and_the_right_one_is_not :
when_evaluating_two_conditions
{
product/testing/unit/utility/TypeExtensionsSpecs.cs
@@ -6,20 +6,20 @@ namespace gorilla.commons.testing.unit.utility
{
public class TypeExtensionsSpecs
{
- [Concern(typeof (TypeExtensions))]
+ [Subject(typeof (TypeExtensions))]
public class when_getting_the_last_interface_for_a_type
{
It should_return_the_correct_one =
() => typeof (TestType).last_interface().should_be_equal_to(typeof (ITestType));
}
- [Concern(typeof (TypeExtensions))]
+ [Subject(typeof (TypeExtensions))]
public class when_getting_the_first_interface_for_a_type
{
It should_return_the_correct_one = () => typeof (TestType).first_interface().should_be_equal_to(typeof (IBase));
}
- [Concern(typeof (TypeExtensions))]
+ [Subject(typeof (TypeExtensions))]
public class when_checking_if_a_type_represents_a_generic_type_definition
{
It should_tell_the_truth = () =>
product/testing/assertions.cs
@@ -1,92 +1,77 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using JetBrains.Annotations;
using Machine.Specifications;
namespace Gorilla.Commons.Testing
{
static public class Assertions
{
- [AssertionMethod]
static public void should_be_equal_to<T>(this T item_to_validate, T expected_value)
{
item_to_validate.ShouldEqual(expected_value);
}
- [AssertionMethod]
static public void should_be_the_same_instance_as<T>(this T left, T right)
{
ReferenceEquals(left, right).ShouldBeTrue();
}
- [AssertionMethod]
static public void should_be_null<T>(this T item)
{
item.ShouldBeNull();
}
- [AssertionMethod]
static public void should_not_be_null<T>(this T item) where T : class
{
item.ShouldNotBeNull();
}
- [AssertionMethod]
static public void should_be_greater_than<T>(this T actual, T expected) where T : IComparable
{
actual.ShouldBeGreaterThan(expected);
}
- [AssertionMethod]
static public void should_be_less_than(this int actual, int expected)
{
actual.ShouldBeLessThan(expected);
}
- [AssertionMethod]
static public void should_contain<T>(this IEnumerable<T> items_to_peek_in_to, T items_to_look_for)
{
items_to_peek_in_to.Contains(items_to_look_for).should_be_true();
}
- [AssertionMethod]
static public void should_not_contain<T>(this IEnumerable<T> items_to_peek_into, T item_to_look_for)
{
items_to_peek_into.Contains(item_to_look_for).should_be_false();
}
- [AssertionMethod]
static public void should_be_an_instance_of<T>(this object item)
{
item.should_be_an_instance_of(typeof (T));
}
- [AssertionMethod]
static public void should_be_an_instance_of(this object item, Type type)
{
item.ShouldBe(type);
}
- [AssertionMethod]
static public void should_have_thrown<TheException>(this Action action) where TheException : Exception
{
typeof (TheException).ShouldBeThrownBy(action);
}
- [AssertionMethod]
static public void should_be_true(this bool item)
{
item.ShouldBeTrue();
}
- [AssertionMethod]
static public void should_be_false(this bool item)
{
item.ShouldBeFalse();
}
- [AssertionMethod]
static public void should_contain<T>(this IEnumerable<T> items, params T[] items_to_find)
{
foreach (var item_to_find in items_to_find)
@@ -95,14 +80,12 @@ namespace Gorilla.Commons.Testing
}
}
- [AssertionMethod]
static public void should_only_contain<T>(this IEnumerable<T> items, params T[] itemsToFind)
{
items.Count().should_be_equal_to(itemsToFind.Length);
items.should_contain(itemsToFind);
}
- [AssertionMethod]
static public void should_be_equal_ignoring_case(this string item, string other)
{
item.ShouldBeEqualIgnoringCase(other);
product/testing/Call.cs
@@ -2,7 +2,7 @@ using System;
namespace Gorilla.Commons.Testing
{
- public class call
+ static public class call
{
static public Action to(Action action)
{
product/testing/ConcernAttribute.cs
@@ -1,12 +0,0 @@
-using System;
-using Machine.Specifications;
-
-namespace Gorilla.Commons.Testing
-{
- public class ConcernAttribute : SubjectAttribute
- {
- public ConcernAttribute(Type subjectType) : base(subjectType) {}
- public ConcernAttribute(Type subjectType, string subject) : base(subjectType, subject) {}
- public ConcernAttribute(string subject) : base(subject) {}
- }
-}
\ No newline at end of file
product/testing/IHideObjectMembers.cs
@@ -1,21 +0,0 @@
-using System;
-using System.ComponentModel;
-
-namespace Gorilla.Commons.Testing
-{
- [EditorBrowsable(EditorBrowsableState.Never)]
- public interface IHideObjectMembers
- {
- [EditorBrowsable(EditorBrowsableState.Never)]
- Type GetType();
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- int GetHashCode();
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- string ToString();
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- bool Equals(object obj);
- }
-}
\ No newline at end of file
product/testing/MethodCallOccurance.cs
@@ -1,33 +0,0 @@
-using System;
-using Rhino.Mocks;
-
-namespace Gorilla.Commons.Testing
-{
- public class MethodCallOccurance<T> : IHideObjectMembers
- {
- readonly Action<T> action;
- readonly T mock;
-
- public MethodCallOccurance(T mock, Action<T> action)
- {
- this.action = action;
- this.mock = mock;
- mock.AssertWasCalled(action);
- }
-
- public void times(int number_of_times_the_method_should_have_been_called)
- {
- mock.AssertWasCalled(action, y => y.Repeat.Times(number_of_times_the_method_should_have_been_called));
- }
-
- public void only_once()
- {
- times(1);
- }
-
- public void twice()
- {
- times(2);
- }
- }
-}
\ No newline at end of file
product/testing/MockingExtensions.cs
@@ -1,53 +1,53 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Rhino.Mocks;
-using Rhino.Mocks.Interfaces;
-
-namespace Gorilla.Commons.Testing
-{
- public static class MockingExtensions
- {
- public static MethodCallOccurance<T> was_told_to<T>(this T mocked_item, Action<T> action_to_perform)
- {
- return new MethodCallOccurance<T>(mocked_item, action_to_perform);
- }
-
- public static void was_not_told_to<T>(this T mocked_item, Action<T> action_to_perform)
- {
- mocked_item.AssertWasNotCalled(action_to_perform);
- }
-
- public static IMethodOptions<R> is_told_to<T, R>(this T mocked_item, Function<T, R> action_to_perform) where T : class
- {
- return mocked_item.Stub(action_to_perform);
- }
-
- public static IMethodOptions<R> is_asked_for<T, R>(this T mock, Function<T, R> func) where T : class
- {
- return mock.Stub(func);
- }
-
- public static IMethodOptions<R> it_will_return<R>(this IMethodOptions<R> options, R item)
- {
- return options.Return(item);
- }
-
- public static IMethodOptions<IEnumerable<R>> it_will_return<R>(this IMethodOptions<IEnumerable<R>> options,
- params R[] items)
- {
- return options.Return(items.AsEnumerable());
- }
-
- public static IMethodOptions<IEnumerable<R>> it_will_return_nothing<R>(
- this IMethodOptions<IEnumerable<R>> options)
- {
- return options.it_will_return();
- }
-
- public static void it_will_throw<R>(this IMethodOptions<R> options, Exception item)
- {
- options.Throw(item);
- }
- }
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Rhino.Mocks;
+using Rhino.Mocks.Interfaces;
+
+namespace Gorilla.Commons.Testing
+{
+ public static class MockingExtensions
+ {
+ public static void was_told_to<T>(this T mocked_item, Action<T> action_to_perform)
+ {
+ mocked_item.AssertWasCalled(action_to_perform);
+ }
+
+ public static void was_not_told_to<T>(this T mocked_item, Action<T> action_to_perform)
+ {
+ mocked_item.AssertWasNotCalled(action_to_perform);
+ }
+
+ public static IMethodOptions<R> is_told_to<T, R>(this T mocked_item, Function<T, R> action_to_perform) where T : class
+ {
+ return mocked_item.Stub(action_to_perform);
+ }
+
+ public static IMethodOptions<R> is_asked_for<T, R>(this T mock, Function<T, R> func) where T : class
+ {
+ return mock.Stub(func);
+ }
+
+ public static IMethodOptions<R> it_will_return<R>(this IMethodOptions<R> options, R item)
+ {
+ return options.Return(item);
+ }
+
+ public static IMethodOptions<IEnumerable<R>> it_will_return<R>(this IMethodOptions<IEnumerable<R>> options,
+ params R[] items)
+ {
+ return options.Return(items.AsEnumerable());
+ }
+
+ public static IMethodOptions<IEnumerable<R>> it_will_return_nothing<R>(
+ this IMethodOptions<IEnumerable<R>> options)
+ {
+ return options.it_will_return();
+ }
+
+ public static void it_will_throw<R>(this IMethodOptions<R> options, Exception item)
+ {
+ options.Throw(item);
+ }
+ }
}
\ No newline at end of file
product/testing/specs.csproj
@@ -53,16 +53,11 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
- <Reference Include="JetBrains.Annotations, Version=4.5.1181.216, Culture=neutral, PublicKeyToken=1010a0d8d6380325, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\jetbrains\JetBrains.Annotations.dll</HintPath>
- </Reference>
<Reference Include="Machine.Specifications">
<HintPath>..\..\thirdparty\mspec\Machine.Specifications.dll</HintPath>
</Reference>
- <Reference Include="Rhino.Mocks, Version=3.5.0.1337, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\test\rhino.mocks\Rhino.Mocks.dll</HintPath>
+ <Reference Include="Rhino.Mocks">
+ <HintPath>..\..\thirdparty\rhino.mocks\Rhino.Mocks.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
@@ -79,11 +74,8 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Call.cs" />
- <Compile Include="ConcernAttribute.cs" />
<Compile Include="Create.cs" />
<Compile Include="assertions.cs" />
- <Compile Include="IHideObjectMembers.cs" />
- <Compile Include="MethodCallOccurance.cs" />
<Compile Include="MockingExtensions.cs" />
<Compile Include="unit\infrastructure\cloning\BinarySerializerSpecs.cs" />
<Compile Include="unit\infrastructure\container\ResolveSpecs.cs" />
thirdparty/rhino.mocks/Rhino.Mocks.dll
Binary file
build/lib/test/rhino.mocks/Rhino.Mocks.xml โ thirdparty/rhino.mocks/Rhino.Mocks.xml
@@ -1,5226 +1,5413 @@
-<?xml version="1.0"?>
-<doc>
- <assembly>
- <name>Rhino.Mocks</name>
- </assembly>
- <members>
- <member name="T:Rhino.Mocks.Constraints.AbstractConstraint">
- <summary>
- Interface for constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_BitwiseAnd(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- And operator for constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_LogicalNot(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Not operator for constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_BitwiseOr(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Or operator for constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_False(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Allow overriding of || or &&
- </summary>
- <param name="c"></param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_True(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Allow overriding of || or &&
- </summary>
- <param name="c"></param>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.AbstractConstraint.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.#ctor(System.Object)">
- <summary>
- Initializes a new constraint object.
- </summary>
- <param name="expected">The expected object, The actual object is passed in as a parameter to the <see cref="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Eval(System.Object)"/> method</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Eval(System.Object)">
- <summary>
- Evaluate this constraint.
- </summary>
- <param name="obj">The actual object that was passed in the method call to the mock.</param>
- <returns>True when the constraint is met, else false.</returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckReferenceType(System.Object,System.Object)">
- <summary>
- Checks if the properties of the <paramref name="actual"/> object
- are the same as the properies of the <paramref name="expected"/> object.
- </summary>
- <param name="expected">The expected object</param>
- <param name="actual">The actual object</param>
- <returns>True when both objects have the same values, else False.</returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckValue(System.Object,System.Object)">
- <summary>
-
- </summary>
- <param name="expected"></param>
- <param name="actual"></param>
- <returns></returns>
- <remarks>This is the real heart of the beast.</remarks>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckProperties(System.Object,System.Object)">
- <summary>
- Used by CheckReferenceType to check all properties of the reference type.
- </summary>
- <param name="expected">The expected object</param>
- <param name="actual">The actual object</param>
- <returns>True when both objects have the same values, else False.</returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckFields(System.Object,System.Object)">
- <summary>
- Used by CheckReferenceType to check all fields of the reference type.
- </summary>
- <param name="expected">The expected object</param>
- <param name="actual">The actual object</param>
- <returns>True when both objects have the same values, else False.</returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckCollection(System.Collections.IEnumerable,System.Collections.IEnumerable)">
- <summary>
- Checks the items of both collections
- </summary>
- <param name="expectedCollection">The expected collection</param>
- <param name="actualCollection"></param>
- <returns>True if both collections contain the same items in the same order.</returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.BuildPropertyName">
- <summary>
- Builds a propertyname from the Stack _properties like 'Order.Product.Price'
- to be used in the error message.
- </summary>
- <returns>A nested property name.</returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Message">
- <summary>
- Rhino.Mocks uses this property to generate an error message.
- </summary>
- <value>
- A message telling the tester why the constraint failed.
- </value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.PublicFieldIs">
- <summary>
- Constrain that the public field has a specified value
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Constraints.PublicFieldConstraint">
- <summary>
- Constrain that the public field matches another constraint.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.#ctor(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldConstraint"/> instance.
- </summary>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="constraint">Constraint to place on the public field value.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.#ctor(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldConstraint"/> instance, specifying a disambiguating
- <paramref name="declaringType"/> for the public field.
- </summary>
- <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="constraint">Constraint to place on the public field value.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.Eval(System.Object)">
- <summary>
- Determines if the object passes the constraint.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.PublicFieldConstraint.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicFieldIs.#ctor(System.String,System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldIs"/> instance.
- </summary>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="expectedValue">Expected value.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicFieldIs.#ctor(System.Type,System.String,System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldIs"/> instance, specifying a disambiguating
- <paramref name="declaringType"/> for the public field.
- </summary>
- <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="expectedValue">Expected value.</param>
- </member>
- <member name="T:Rhino.Mocks.Constraints.PropertyIs">
- <summary>
- Constrain that the property has a specified value
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Constraints.PropertyConstraint">
- <summary>
- Constrain that the property matches another constraint.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.#ctor(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyConstraint"/> instance.
- </summary>
- <param name="propertyName">Name of the property.</param>
- <param name="constraint">Constraint to place on the property value.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.#ctor(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyConstraint"/> instance, specifying a disambiguating
- <paramref name="declaringType"/> for the property.
- </summary>
- <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
- <param name="propertyName">Name of the property.</param>
- <param name="constraint">Constraint to place on the property value.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.Eval(System.Object)">
- <summary>
- Determines if the object passes the constraint.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.PropertyConstraint.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PropertyIs.#ctor(System.String,System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyIs"/> instance.
- </summary>
- <param name="propertyName">Name of the property.</param>
- <param name="expectedValue">Expected value.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PropertyIs.#ctor(System.Type,System.String,System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyIs"/> instance, specifying a disambiguating
- <paramref name="declaringType"/> for the property.
- </summary>
- <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
- <param name="propertyName">Name of the property.</param>
- <param name="expectedValue">Expected value.</param>
- </member>
- <member name="T:Rhino.Mocks.Constraints.TypeOf">
- <summary>
- Constrain that the parameter must be of the specified type
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TypeOf.#ctor(System.Type)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.TypeOf"/> instance.
- </summary>
- <param name="type">Type.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TypeOf.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.TypeOf.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Same">
- <summary>
- Constraint that determines whether an object is the same object as another.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Same.#ctor(System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.Equal"/> instance.
- </summary>
- <param name="obj">Obj.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Same.Eval(System.Object)">
- <summary>
- Determines if the object passes the constraints.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.Same.Message">
- <summary>
- Gets the message for this constraint.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Constraints.PredicateConstraint`1">
- <summary>
- Evaluate a parameter using constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PredicateConstraint`1.#ctor(System.Predicate{`0})">
- <summary>
- Create new instance
- </summary>
- <param name="predicate"></param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PredicateConstraint`1.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.PredicateConstraint`1.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.LambdaConstraint">
- <summary>
- A constraint based on lambda expression, we are using Expression{T}
- because we want to be able to get good error reporting on that.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.LambdaConstraint.#ctor(System.Linq.Expressions.Expression)">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.Constraints.LambdaConstraint"/> class.
- </summary>
- <param name="expr">The expr.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.LambdaConstraint.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- <param name="obj"></param>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.LambdaConstraint.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.CollectionEqual">
- <summary>
- Constrain that the list contains the same items as the parameter list
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.CollectionEqual.#ctor(System.Collections.IEnumerable)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.CollectionEqual"/> instance.
- </summary>
- <param name="collection">In list.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.CollectionEqual.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.CollectionEqual.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.OneOf">
- <summary>
- Constrain that the parameter is one of the items in the list
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.OneOf.#ctor(System.Collections.IEnumerable)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.OneOf"/> instance.
- </summary>
- <param name="collection">In list.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.OneOf.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.OneOf.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.IsIn">
- <summary>
- Constrain that the object is inside the parameter list
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsIn.#ctor(System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.IsIn"/> instance.
- </summary>
- <param name="inList">In list.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsIn.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.IsIn.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.CollectionCount">
- <summary>
- Applies another AbstractConstraint to the collection count.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.CollectionCount.#ctor(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.CollectionCount"/> instance.
- </summary>
- <param name="constraint">The constraint that should be applied to the collection count.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.CollectionCount.Eval(System.Object)">
- <summary>
- Determines if the parameter conforms to this constraint.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.CollectionCount.Message">
- <summary>
- Gets the message for this constraint.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Constraints.ListElement">
- <summary>
- Applies another AbstractConstraint to a specific list element.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListElement.#ctor(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.ListElement"/> instance.
- </summary>
- <param name="index">The zero-based index of the list element.</param>
- <param name="constraint">The constraint that should be applied to the list element.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListElement.Eval(System.Object)">
- <summary>
- Determines if the parameter conforms to this constraint.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.ListElement.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.KeyedListElement`1">
- <summary>
- Applies another AbstractConstraint to a specific generic keyed list element.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.KeyedListElement`1.#ctor(`0,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:KeyedListElement"/> instance.
- </summary>
- <param name="key">The key of the list element.</param>
- <param name="constraint">The constraint that should be applied to the list element.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.KeyedListElement`1.Eval(System.Object)">
- <summary>
- Determines if the parameter conforms to this constraint.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.KeyedListElement`1.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.ContainsAll">
- <summary>
- Constrains that all elements are in the parameter list
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ContainsAll.#ctor(System.Collections.IEnumerable)">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.Constraints.ContainsAll"/> class.
- </summary>
- <param name="these">The these.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ContainsAll.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- <param name="obj"></param>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.ContainsAll.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Or">
- <summary>
- Combines two constraints, constraint pass if either is fine.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Or.#ctor(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance.
- </summary>
- <param name="c1">C1.</param>
- <param name="c2">C2.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Or.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.Or.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Not">
- <summary>
- Negate a constraint
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Not.#ctor(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance.
- </summary>
- <param name="c1">C1.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Not.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.Not.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.And">
- <summary>
- Combines two constraints
- </summary>
- <remarks></remarks>
- </member>
- <member name="M:Rhino.Mocks.Constraints.And.#ctor(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance.
- </summary>
- <param name="c1">C1.</param>
- <param name="c2">C2.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.And.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.And.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Like">
- <summary>
- Constrain the argument to validate according to regex pattern
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Like.#ctor(System.String)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.Like"/> instance.
- </summary>
- <param name="pattern">Pattern.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Like.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.Like.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Contains">
- <summary>
- Constraint that evaluate whatever an argument contains the specified string.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Contains.#ctor(System.String)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.Contains"/> instance.
- </summary>
- <param name="innerString">Inner string.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Contains.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.Contains.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.EndsWith">
- <summary>
- Constraint that evaluate whatever an argument ends with the specified string
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.EndsWith.#ctor(System.String)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.EndsWith"/> instance.
- </summary>
- <param name="end">End.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.EndsWith.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.EndsWith.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.StartsWith">
- <summary>
- Constraint that evaluate whatever an argument start with the specified string
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.StartsWith.#ctor(System.String)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.StartsWith"/> instance.
- </summary>
- <param name="start">Start.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.StartsWith.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.StartsWith.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Equal">
- <summary>
- Constraint that evaluate whatever an object equals another
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Equal.#ctor(System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.Equal"/> instance.
- </summary>
- <param name="obj">Obj.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Equal.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.Equal.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Anything">
- <summary>
- Constraint that always returns true
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Anything.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.Anything.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.ComparingConstraint">
- <summary>
- Constraint that evaluate whatever a comparable is greater than another
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ComparingConstraint.#ctor(System.IComparable,System.Boolean,System.Boolean)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Constraints.ComparingConstraint"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ComparingConstraint.Eval(System.Object)">
- <summary>
- determains if the object pass the constraints
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Constraints.ComparingConstraint.Message">
- <summary>
- Gets the message for this constraint
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Is">
- <summary>
- Central location for constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.GreaterThan(System.IComparable)">
- <summary>
- Evaluate a greater than constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be greater than</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.LessThan(System.IComparable)">
- <summary>
- Evaluate a less than constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be less than</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.LessThanOrEqual(System.IComparable)">
- <summary>
- Evaluate a less than or equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be less than or equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.GreaterThanOrEqual(System.IComparable)">
- <summary>
- Evaluate a greater than or equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be greater than or equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.Equal(System.Object)">
- <summary>
- Evaluate an equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="obj">The object the parameter should equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.NotEqual(System.Object)">
- <summary>
- Evaluate a not equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="obj">The object the parameter should not equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.Same(System.Object)">
- <summary>
- Evaluate a same as constraint.
- </summary>
- <param name="obj">The object the parameter should the same as.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.NotSame(System.Object)">
- <summary>
- Evaluate a not same as constraint.
- </summary>
- <param name="obj">The object the parameter should not be the same as.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.Anything">
- <summary>
- A constraints that accept anything
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.Null">
- <summary>
- A constraint that accept only nulls
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.NotNull">
- <summary>
- A constraint that accept only non null values
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.TypeOf(System.Type)">
- <summary>
- A constraint that accept only value of the specified type
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.TypeOf``1">
- <summary>
- A constraint that accept only value of the specified type
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Is.Matching``1(System.Predicate{``0})">
- <summary>
- Evaluate a parameter using a predicate
- </summary>
- <param name="predicate">The predicate to use</param>
- </member>
- <member name="T:Rhino.Mocks.Constraints.IsArg`1">
- <summary>
- Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Is"/> to be used in context
- with the <see cref="T:Rhino.Mocks.Arg`1"/> syntax.
- </summary>
- <typeparam name="T">The type of the argument</typeparam>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.GreaterThan(System.IComparable)">
- <summary>
- Evaluate a greater than constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be greater than</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.LessThan(System.IComparable)">
- <summary>
- Evaluate a less than constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be less than</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.LessThanOrEqual(System.IComparable)">
- <summary>
- Evaluate a less than or equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be less than or equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.GreaterThanOrEqual(System.IComparable)">
- <summary>
- Evaluate a greater than or equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="objToCompare">The object the parameter should be greater than or equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.Equal(System.Object)">
- <summary>
- Evaluate an equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="obj">The object the parameter should equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.NotEqual(System.Object)">
- <summary>
- Evaluate a not equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="obj">The object the parameter should not equal to</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.Same(System.Object)">
- <summary>
- Evaluate a same as constraint.
- </summary>
- <param name="obj">The object the parameter should the same as.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.NotSame(System.Object)">
- <summary>
- Evaluate a not same as constraint.
- </summary>
- <param name="obj">The object the parameter should not be the same as.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.Equals(System.Object)">
- <summary>
- Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead.
- </summary>
- <param name="obj"></param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.IsArg`1.GetHashCode">
- <summary>
- Serves as a hash function for a particular type.
- </summary>
- <returns>
- A hash code for the current <see cref="T:System.Object"/>.
- </returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.IsArg`1.Anything">
- <summary>
- A constraints that accept anything
- </summary>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.IsArg`1.Null">
- <summary>
- A constraint that accept only nulls
- </summary>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.IsArg`1.NotNull">
- <summary>
- A constraint that accept only non null values
- </summary>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Constraints.IsArg`1.TypeOf">
- <summary>
- A constraint that accept only value of the specified type.
- The check is performed on the type that has been defined
- as the argument type.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Constraints.List">
- <summary>
- Central location for constraints about lists and collections
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.List.IsIn(System.Object)">
- <summary>
- Determines whether the specified obj is in the paramter.
- The parameter must be IEnumerable.
- </summary>
- <param name="obj">Obj.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.List.OneOf(System.Collections.IEnumerable)">
- <summary>
- Determains whatever the parameter is in the collection.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.List.Equal(System.Collections.IEnumerable)">
- <summary>
- Determains that the parameter collection is identical to the specified collection
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.List.Count(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Determines that the parameter collection has the specified number of elements.
- </summary>
- <param name="constraint">The constraint that should be applied to the collection count.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.List.Element(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Determines that an element of the parameter collections conforms to another AbstractConstraint.
- </summary>
- <param name="index">The zero-based index of the list element.</param>
- <param name="constraint">The constraint which should be applied to the list element.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.List.Element``1(``0,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Determines that an element of the parameter collections conforms to another AbstractConstraint.
- </summary>
- <param name="key">The key of the element.</param>
- <param name="constraint">The constraint which should be applied to the element.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.List.ContainsAll(System.Collections.IEnumerable)">
- <summary>
- Determines that all elements of the specified collection are in the the parameter collection
- </summary>
- <param name="collection">The collection to compare against</param>
- <returns>The constraint which should be applied to the list parameter.</returns>
- </member>
- <member name="T:Rhino.Mocks.Constraints.ListArg`1">
- <summary>
- Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Text"/> to be used in context
- with the <see cref="T:Rhino.Mocks.Arg`1"/> syntax.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.IsIn(System.Object)">
- <summary>
- Determines whether the specified object is in the paramter.
- The parameter must be IEnumerable.
- </summary>
- <param name="obj">Obj.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.OneOf(System.Collections.IEnumerable)">
- <summary>
- Determains whatever the parameter is in the collection.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.Equal(System.Collections.IEnumerable)">
- <summary>
- Determains that the parameter collection is identical to the specified collection
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.Count(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Determines that the parameter collection has the specified number of elements.
- </summary>
- <param name="constraint">The constraint that should be applied to the collection count.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.Element(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Determines that an element of the parameter collections conforms to another AbstractConstraint.
- </summary>
- <param name="index">The zero-based index of the list element.</param>
- <param name="constraint">The constraint which should be applied to the list element.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.ContainsAll(System.Collections.IEnumerable)">
- <summary>
- Determines that all elements of the specified collection are in the the parameter collection
- </summary>
- <param name="collection">The collection to compare against</param>
- <returns>The constraint which should be applied to the list parameter.</returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.Equals(System.Object)">
- <summary>
- Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead.
- </summary>
- <param name="obj"></param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.ListArg`1.GetHashCode">
- <summary>
- Serves as a hash function for a particular type.
- </summary>
- <returns>
- A hash code for the current <see cref="T:System.Object"/>.
- </returns>
- </member>
- <member name="T:Rhino.Mocks.Constraints.OutRefArgDummy`1">
- <summary>
- Provides a dummy field to pass as out or ref argument.
- </summary>
- <typeparam name="T"></typeparam>
- </member>
- <member name="F:Rhino.Mocks.Constraints.OutRefArgDummy`1.Dummy">
- <summary>
- Dummy field to satisfy the compiler. Used for out and ref arguments.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Property">
- <summary>
- Central location for constraints for object's properties
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.Value(System.String,System.Object)">
- <summary>
- Constrains the parameter to have property with the specified value
- </summary>
- <param name="propertyName">Name of the property.</param>
- <param name="expectedValue">Expected value.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.Value(System.Type,System.String,System.Object)">
- <summary>
- Constrains the parameter to have property with the specified value.
- </summary>
- <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
- <param name="propertyName">Name of the property.</param>
- <param name="expectedValue">Expected value.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.ValueConstraint(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Constrains the parameter to have a property satisfying a specified constraint.
- </summary>
- <param name="propertyName">Name of the property.</param>
- <param name="propertyConstraint">Constraint for the property.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.ValueConstraint(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Constrains the parameter to have a property satisfying a specified constraint.
- </summary>
- <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
- <param name="propertyName">Name of the property.</param>
- <param name="propertyConstraint">Constraint for the property.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.IsNull(System.String)">
- <summary>
- Determines whether the parameter has the specified property and that it is null.
- </summary>
- <param name="propertyName">Name of the property.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.IsNull(System.Type,System.String)">
- <summary>
- Determines whether the parameter has the specified property and that it is null.
- </summary>
- <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
- <param name="propertyName">Name of the property.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.IsNotNull(System.String)">
- <summary>
- Determines whether the parameter has the specified property and that it is not null.
- </summary>
- <param name="propertyName">Name of the property.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.IsNotNull(System.Type,System.String)">
- <summary>
- Determines whether the parameter has the specified property and that it is not null.
- </summary>
- <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
- <param name="propertyName">Name of the property.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Property.AllPropertiesMatch(System.Object)">
- <summary>
- constraints the parameter to have the exact same property values as the expected object.
- </summary>
- <param name="expected">An object, of the same type as the parameter, whose properties are set with the expected values.</param>
- <returns>An instance of the constraint that will do the actual check.</returns>
- <remarks>
- The parameter's public property values and public field values will be matched against the expected object's
- public property values and public field values. The first mismatch will be reported and no further matching is done.
- The matching is recursive for any property or field that has properties or fields of it's own.
- Collections are supported through IEnumerable, which means the constraint will check if the actual and expected
- collection contain the same values in the same order, where the values contained by the collection can have properties
- and fields of their own that will be checked as well because of the recursive nature of this constraint.
- </remarks>
- </member>
- <member name="T:Rhino.Mocks.Constraints.PublicField">
- <summary>
- Central location for constraints for object's public fields
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.Value(System.String,System.Object)">
- <summary>
- Constrains the parameter to have a public field with the specified value
- </summary>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="expectedValue">Expected value.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.Value(System.Type,System.String,System.Object)">
- <summary>
- Constrains the parameter to have a public field with the specified value.
- </summary>
- <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="expectedValue">Expected value.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.ValueConstraint(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Constrains the parameter to have a public field satisfying a specified constraint.
- </summary>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="publicFieldConstraint">Constraint for the public field.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.ValueConstraint(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Constrains the parameter to have a public field satisfying a specified constraint.
- </summary>
- <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
- <param name="publicFieldName">Name of the public field.</param>
- <param name="publicFieldConstraint">Constraint for the public field.</param>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.IsNull(System.String)">
- <summary>
- Determines whether the parameter has the specified public field and that it is null.
- </summary>
- <param name="publicFieldName">Name of the public field.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.IsNull(System.Type,System.String)">
- <summary>
- Determines whether the parameter has the specified public field and that it is null.
- </summary>
- <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
- <param name="publicFieldName">Name of the public field.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.IsNotNull(System.String)">
- <summary>
- Determines whether the parameter has the specified public field and that it is not null.
- </summary>
- <param name="publicFieldName">Name of the public field.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.PublicField.IsNotNull(System.Type,System.String)">
- <summary>
- Determines whether the parameter has the specified public field and that it is not null.
- </summary>
- <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
- <param name="publicFieldName">Name of the public field.</param>
- <returns></returns>
- </member>
- <member name="T:Rhino.Mocks.Constraints.Text">
- <summary>
- Central location for all text related constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Text.StartsWith(System.String)">
- <summary>
- Constrain the argument to starts with the specified string
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Text.EndsWith(System.String)">
- <summary>
- Constrain the argument to end with the specified string
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Text.Contains(System.String)">
- <summary>
- Constrain the argument to contain the specified string
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.Text.Like(System.String)">
- <summary>
- Constrain the argument to validate according to regex pattern
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Constraints.TextArg">
- <summary>
- Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Text"/> to be used in context
- with the <see cref="T:Rhino.Mocks.Arg"/> syntax.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TextArg.StartsWith(System.String)">
- <summary>
- Constrain the argument to starts with the specified string
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TextArg.EndsWith(System.String)">
- <summary>
- Constrain the argument to end with the specified string
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TextArg.Contains(System.String)">
- <summary>
- Constrain the argument to contain the specified string
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TextArg.Like(System.String)">
- <summary>
- Constrain the argument to validate according to regex pattern
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TextArg.Equals(System.Object)">
- <summary>
- Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead.
- </summary>
- <param name="obj"></param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Constraints.TextArg.GetHashCode">
- <summary>
- Serves as a hash function for a particular type.
- </summary>
- <returns>
- A hash code for the current <see cref="T:System.Object"/>.
- </returns>
- </member>
- <member name="T:Rhino.Mocks.Exceptions.ExpectationViolationException">
- <summary>
- An expectaton violation was detected.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Exceptions.ExpectationViolationException.#ctor(System.String)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Exceptions.ExpectationViolationException"/> instance.
- </summary>
- <param name="message">Message.</param>
- </member>
- <member name="M:Rhino.Mocks.Exceptions.ExpectationViolationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <summary>
- Serialization constructor
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException">
- <summary>
- Signals that an object was call on a mock repostiroy which doesn't
- belong to this mock repository or not a mock
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException.#ctor(System.String)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException"/> instance.
- </summary>
- <param name="message">Message.</param>
- </member>
- <member name="M:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <summary>
- Serialization constructor
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Expectations.AbstractExpectation">
- <summary>
- Abstract class that holds common information for
- expectations.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IExpectation">
- <summary>
- Interface to validate that a method call is correct.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectation.IsExpected(System.Object[])">
- <summary>
- Validate the arguments for the method.
- This method can be called numerous times, so be careful about side effects
- </summary>
- <param name="args">The arguments with which the method was called</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectation.AddActualCall">
- <summary>
- Add an actual method call to this expectation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectation.ReturnOrThrow(Castle.Core.Interceptor.IInvocation,System.Object[])">
- <summary>
- Returns the return value or throw the exception and setup any output / ref parameters
- that has been set.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectation.IgnoreMissingReturnValueUntilExecuteTime">
- <summary>
- Allow to set the return value in the future, if it was already set.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectation.BuildVerificationFailureMessage">
- <summary>
- Builds the verification failure message.
- </summary>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.ErrorMessage">
- <summary>
- Gets the error message.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.Expected">
- <summary>
- Range of expected calls
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.ActualCallsCount">
- <summary>
- Number of call actually made for this method
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.CanAcceptCalls">
- <summary>
- If this expectation is still waiting for calls.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.ReturnValue">
- <summary>
- The return value for a method matching this expectation
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.ExceptionToThrow">
- <summary>
- Gets or sets the exception to throw on a method matching this expectation.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.ActionsSatisfied">
- <summary>
- Gets a value indicating whether this instance's action is staisfied.
- A staisfied instance means that there are no more requirements from
- this method. A method with non void return value must register either
- a return value or an exception to throw.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.Method">
- <summary>
- Gets the method this expectation is for.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.RepeatableOption">
- <summary>
- Gets or sets what special condtions there are for this method
- repeating.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.ExpectationSatisfied">
- <summary>
- Gets a value indicating whether this expectation was satisfied
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.HasReturnValue">
- <summary>
- Specify whatever this expectation has a return value set
- You can't check ReturnValue for this because a valid return value include null.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.ActionToExecute">
- <summary>
- An action to execute when the method is matched.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.OutRefParams">
- <summary>
- Set the out / ref parameters for the method call.
- The indexing is zero based and ignores any non out/ref parameter.
- It is possible not to pass all the parameters. This method can be called only once.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.Message">
- <summary>
- Documentation Message
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IExpectation.Originalinvocation">
- <summary>
- Gets the invocation for this expectation
- </summary>
- <value>The invocation.</value>
- </member>
- <member name="E:Rhino.Mocks.Interfaces.IExpectation.WhenCalled">
- <summary>
- Occurs when the exceptation is match on a method call
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.actualCallsCount">
- <summary>
- Number of actuall calls made that passed this expectation
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.expected">
- <summary>
- Range of expected calls that should pass this expectation.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.returnValue">
- <summary>
- The return value for a method matching this expectation
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.exceptionToThrow">
- <summary>
- The exception to throw on a method matching this expectation.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.method">
- <summary>
- The method this expectation is for.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.returnValueSet">
- <summary>
- The return value for this method was set
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.repeatableOption">
- <summary>
- Whether this method will repeat
- unlimited number of times.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.actionToExecute">
- <summary>
- A delegate that will be run when the
- expectation is matched.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.matchingArgs">
- <summary>
- The arguments that matched this expectation.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.message">
- <summary>
- Documentation message
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.originalInvocation">
- <summary>
- The method originalInvocation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.GetHashCode">
- <summary>
- Get the hash code
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.AddActualCall">
- <summary>
- Add an actual actualMethodCall call to this expectation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.BuildVerificationFailureMessage">
- <summary>
- Builds the verification failure message.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.IgnoreMissingReturnValueUntilExecuteTime">
- <summary>
- Allow to set the return value in the future, if it was already set.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.ReturnOrThrow(Castle.Core.Interceptor.IInvocation,System.Object[])">
- <summary>
- Returns the return value or throw the exception and setup output / ref parameters
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.IsExpected(System.Object[])">
- <summary>
- Validate the arguments for the method on the child methods
- </summary>
- <param name="args">The arguments with which the method was called</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.#ctor(Castle.Core.Interceptor.IInvocation)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.AbstractExpectation"/> instance.
- </summary>
- <param name="invocation">The originalInvocation for this method, required because it contains the generic type infromation</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.AbstractExpectation"/> instance.
- </summary>
- <param name="expectation">Expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.DoIsExpected(System.Object[])">
- <summary>
- Validate the arguments for the method on the child methods
- </summary>
- <param name="args">The arguments with which the method was called</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.Equals(System.Object)">
- <summary>
- Determines if this object equal to obj
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.CreateErrorMessage(System.String)">
- <summary>
- The error message for these arguments
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.AssertDelegateArgumentsMatchMethod(System.Delegate)">
- <summary>
- Asserts that the delegate has the same parameters as the expectation's method call
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.OutRefParams">
- <summary>
- Setter for the outpur / ref parameters for this expecataion.
- Can only be set once.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.HasReturnValue">
- <summary>
- Specify whatever this expectation has a return value set
- You can't check ReturnValue for this because a valid return value include null.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Method">
- <summary>
- Gets the method this expectation is for.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Originalinvocation">
- <summary>
- Gets the originalInvocation for this expectation
- </summary>
- <value>The originalInvocation.</value>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.RepeatableOption">
- <summary>
- Gets or sets what special condtions there are for this method
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Expected">
- <summary>
- Range of expected calls
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ActualCallsCount">
- <summary>
- Number of call actually made for this method
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.CanAcceptCalls">
- <summary>
- If this expectation is still waiting for calls.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ExpectationSatisfied">
- <summary>
- Gets a value indicating whether this expectation was satisfied
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ReturnValue">
- <summary>
- The return value for a method matching this expectation
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ActionToExecute">
- <summary>
- An action to execute when the method is matched.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ExceptionToThrow">
- <summary>
- Gets or sets the exception to throw on a method matching this expectation.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ActionsSatisfied">
- <summary>
- Gets a value indicating whether this instance's action is staisfied.
- A staisfied instance means that there are no more requirements from
- this method. A method with non void return value must register either
- a return value or an exception to throw or an action to execute.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Message">
- <summary>
- Documentation message
- </summary>
- </member>
- <member name="E:Rhino.Mocks.Expectations.AbstractExpectation.WhenCalled">
- <summary>
- Occurs when the exceptation is match on a method call
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ErrorMessage">
- <summary>
- Gets the error message.
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Expectations.AnyArgsExpectation">
- <summary>
- Expectation that matchs any arguments for the method.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.#ctor(Castle.Core.Interceptor.IInvocation)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.AnyArgsExpectation"/> instance.
- </summary>
- <param name="invocation">Invocation for this expectation</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.AnyArgsExpectation"/> instance.
- </summary>
- <param name="expectation">Expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.DoIsExpected(System.Object[])">
- <summary>
- Validate the arguments for the method.
- </summary>
- <param name="args">The arguments with which the method was called</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.Equals(System.Object)">
- <summary>
- Determines if the object equal to expectation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.GetHashCode">
- <summary>
- Get the hash code
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.AnyArgsExpectation.ErrorMessage">
- <summary>
- Gets the error message.
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Expectations.ArgsEqualExpectation">
- <summary>
- Summary description for ArgsEqualExpectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.#ctor(Castle.Core.Interceptor.IInvocation,System.Object[])">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.ArgsEqualExpectation"/> instance.
- </summary>
- <param name="expectedArgs">Expected args.</param>
- <param name="invocation">The invocation for this expectation</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.DoIsExpected(System.Object[])">
- <summary>
- Validate the arguments for the method.
- </summary>
- <param name="args">The arguments with which the method was called</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.Equals(System.Object)">
- <summary>
- Determines if the object equal to expectation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.GetHashCode">
- <summary>
- Get the hash code
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.ArgsEqualExpectation.ErrorMessage">
- <summary>
- Gets the error message.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.Expectations.ArgsEqualExpectation.ExpectedArgs">
- <summary>
- Get the expected args.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Expectations.CallbackExpectation">
- <summary>
- Call a specified callback to verify the expectation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation,System.Delegate)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.CallbackExpectation"/> instance.
- </summary>
- <param name="expectation">Expectation.</param>
- <param name="callback">Callback.</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.#ctor(Castle.Core.Interceptor.IInvocation,System.Delegate)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.CallbackExpectation"/> instance.
- </summary>
- <param name="invocation">Invocation for this expectation</param>
- <param name="callback">Callback.</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.DoIsExpected(System.Object[])">
- <summary>
- Validate the arguments for the method on the child methods
- </summary>
- <param name="args">The arguments with which the method was called</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.Equals(System.Object)">
- <summary>
- Determines if the object equal to expectation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.GetHashCode">
- <summary>
- Get the hash code
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.CallbackExpectation.ErrorMessage">
- <summary>
- Gets the error message.
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Expectations.ConstraintsExpectation">
- <summary>
- Expect the method's arguments to match the contraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.#ctor(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Constraints.AbstractConstraint[])">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.ConstraintsExpectation"/> instance.
- </summary>
- <param name="invocation">Invocation for this expectation</param>
- <param name="constraints">Constraints.</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Constraints.AbstractConstraint[])">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Expectations.ConstraintsExpectation"/> instance.
- </summary>
- <param name="expectation">Expectation.</param>
- <param name="constraints">Constraints.</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.DoIsExpected(System.Object[])">
- <summary>
- Validate the arguments for the method.
- </summary>
- <param name="args">The arguments with which the method was called</param>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.Equals(System.Object)">
- <summary>
- Determines if the object equal to expectation
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.GetHashCode">
- <summary>
- Get the hash code
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Expectations.ConstraintsExpectation.ErrorMessage">
- <summary>
- Gets the error message.
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Generated.ExpectationsList">
- <summary>
- ExpectationsList
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary">
- <summary>
- Dictionary
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Generated.ProxyStateDictionary">
- <summary>
- Dictionary class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Generated.ProxyStateDictionary.#ctor">
- <summary>
- Create a new instance of <c>ProxyStateDictionary</c>
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.RemotingMock.IRemotingProxyOperation">
- <summary>
- Operation on a remoting proxy
- </summary>
- <remarks>
- It is not possible to directly communicate to a real proxy via transparent proxy.
- Transparent proxy impersonates a user type and only methods of that user type are callable.
- The only methods that are guaranteed to exist on any transparent proxy are methods defined
- in Object: namely ToString(), GetHashCode(), and Equals()).
-
- These three methods are the only way to tell the real proxy to do something.
- Equals() is the most suitable of all, since it accepts an arbitrary object parameter.
- The RemotingProxy code is built so that if it is compared to an IRemotingProxyOperation,
- transparentProxy.Equals(operation) will call operation.Process(realProxy).
- This way we can retrieve a real proxy from transparent proxy and perform
- arbitrary operation on it.
- </remarks>
- </member>
- <member name="T:Rhino.Mocks.Impl.RemotingMock.RemotingInvocation">
- <summary>
- Implementation of IInvocation based on remoting proxy
- </summary>
- <remarks>Some methods are marked NotSupported since they either don't make sense
- for remoting proxies, or they are never called by Rhino Mocks</remarks>
- </member>
- <member name="T:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator">
- <summary>
- Generates remoting proxies and provides utility functions
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator.CreateRemotingMock(System.Type,Castle.Core.Interceptor.IInterceptor,Rhino.Mocks.Interfaces.IMockedObject)">
- <summary>
- Create the proxy using remoting
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator.IsRemotingProxy(System.Object)">
- <summary>
- Check whether an object is a transparent proxy with a RemotingProxy behind it
- </summary>
- <param name="obj">Object to check</param>
- <returns>true if the object is a transparent proxy with a RemotingProxy instance behind it, false otherwise</returns>
- <remarks>We use Equals() method to communicate with the real proxy behind the object.
- See IRemotingProxyOperation for more details</remarks>
- </member>
- <member name="M:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator.GetMockedObjectFromProxy(System.Object)">
- <summary>
- Retrieve a mocked object from a transparent proxy
- </summary>
- <param name="proxy">Transparent proxy with a RemotingProxy instance behind it</param>
- <returns>Mocked object associated with the proxy</returns>
- <remarks>We use Equals() method to communicate with the real proxy behind the object.
- See IRemotingProxyOperation for more details</remarks>
- </member>
- <member name="T:Rhino.Mocks.Impl.CreateMethodExpectation">
- <summary>
- Allows to call a method and immediatly get it's options.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.ICreateMethodExpectation">
- <summary>
- Interface to allows to call a method and immediatly get it's options.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.ICreateMethodExpectation.Call``1(``0)">
- <summary>
- Get the method options for the call
- </summary>
- <param name="ignored">The method call should go here, the return value is ignored</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.CreateMethodExpectation.#ctor(Rhino.Mocks.Interfaces.IMockedObject,System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.CreateMethodExpectation"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.CreateMethodExpectation.Call``1(``0)">
- <summary>
- Get the method options for the call
- </summary>
- <param name="ignored">The method call should go here, the return value is ignored</param>
- </member>
- <member name="T:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult">
- <summary>
- Allows to call a method and immediatly get it's options.
- Set the expected number for the call to Any()
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult.#ctor(Rhino.Mocks.Interfaces.IMockedObject,System.Object)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult"/> instance.
- </summary>
- <param name="mockedObject">Proxy.</param>
- <param name="mockedInstance">Mocked instance.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult.Call``1(``0)">
- <summary>
- Get the method options for the call
- </summary>
- <param name="ignored">The method call should go here, the return value is ignored</param>
- </member>
- <member name="T:Rhino.Mocks.Impl.DelegateTargetInterfaceCreator">
- <summary>
- This class is reponsible for taking a delegate and creating a wrapper
- interface around it, so it can be mocked.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.DelegateTargetInterfaceCreator.moduleScope">
- <summary>
- The scope for all the delegate interfaces create by this mock repositroy.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.DelegateTargetInterfaceCreator.GetDelegateTargetInterface(System.Type)">
- <summary>
- Gets a type with an "Invoke" method suitable for use as a target of the
- specified delegate type.
- </summary>
- <param name="delegateType"></param>
- <returns></returns>
- </member>
- <member name="T:Rhino.Mocks.Impl.EventRaiser">
- <summary>
- Raise events for all subscribers for an event
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IEventRaiser">
- <summary>
- Raise events for all subscribers for an event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IEventRaiser.Raise(System.Object[])">
- <summary>
- Raise the event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IEventRaiser.Raise(System.Object,System.EventArgs)">
- <summary>
- The most common form for the event handler signature
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.EventRaiser.Create(System.Object,System.String)">
- <summary>
- Create an event raise for the specified event on this instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.EventRaiser.#ctor(Rhino.Mocks.Interfaces.IMockedObject,System.String)">
- <summary>
- Creates a new instance of <c>EventRaiser</c>
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.EventRaiser.Raise(System.Object[])">
- <summary>
- Raise the event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.EventRaiser.Raise(System.Object,System.EventArgs)">
- <summary>
- The most common signature for events
- Here to allow intellisense to make better guesses about how
- it should suggest parameters.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.MethodOptions`1">
- <summary>
- Allows to define what would happen when a method
- is called.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IMethodOptions`1">
- <summary>
- Allows to define what would happen when a method
- is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Return(`0)">
- <summary>
- Set the return value for the method.
- </summary>
- <param name="objToReturn">The object the method will return</param>
- <returns>IRepeat that defines how many times the method will return this value</returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.TentativeReturn">
- <summary>
- Allow to override this return value in the future
- </summary>
- <returns>IRepeat that defines how many times the method will return this value</returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Throw(System.Exception)">
- <summary>
- Throws the specified exception when the method is called.
- </summary>
- <param name="exception">Exception to throw</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.IgnoreArguments">
- <summary>
- Ignores the arguments for this method. Any argument will be matched
- againt this method.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Constraints(Rhino.Mocks.Constraints.AbstractConstraint[])">
- <summary>
- Add constraints for the method's arguments.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback(System.Delegate)">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback(Rhino.Mocks.Delegates.Function{System.Boolean})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``1(Rhino.Mocks.Delegates.Function{System.Boolean,``0})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``2(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``3(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``4(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``5(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``6(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``7(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``8(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``9(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``10(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Do(System.Delegate)">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.WhenCalled(System.Action{Rhino.Mocks.MethodInvocation})">
- <summary>
- Set a delegate to be called when the expectation is matched
- and allow to optionally modify the invocation as needed
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.CallOriginalMethod">
- <summary>
- Call the original method on the class, bypassing the mocking layers.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.CallOriginalMethod(Rhino.Mocks.Interfaces.OriginalCallOptions)">
- <summary>
- Call the original method on the class, optionally bypassing the mocking layers.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.PropertyBehavior">
- <summary>
- Use the property as a simple property, getting/setting the values without
- causing mock expectations.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.SetPropertyAndIgnoreArgument">
- <summary>
- Expect last (property) call as property setting, ignore the argument given
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.SetPropertyWithArgument(`0)">
- <summary>
- Expect last (property) call as property setting with a given argument.
- </summary>
- <param name="argument"></param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.GetEventRaiser">
- <summary>
- Get an event raiser for the last subscribed event.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.OutRef(System.Object[])">
- <summary>
- Set the parameter values for out and ref parameters.
- This is done using zero based indexing, and _ignoring_ any non out/ref parameter.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Message(System.String)">
- <summary>
- Documentation message for the expectation
- </summary>
- <param name="documentationMessage">Message</param>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMethodOptions`1.Repeat">
- <summary>
- Better syntax to define repeats.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IRepeat`1">
- <summary>
- Allows to specify the number of time for method calls
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Twice">
- <summary>
- Repeat the method twice.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Once">
- <summary>
- Repeat the method once.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.AtLeastOnce">
- <summary>
- Repeat the method at least once, then repeat as many time as it would like.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Any">
- <summary>
- Repeat the method any number of times.
- This has special affects in that this method would now ignore orderring.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Times(System.Int32,System.Int32)">
- <summary>
- Set the range to repeat an action.
- </summary>
- <param name="min">Min.</param>
- <param name="max">Max.</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Times(System.Int32)">
- <summary>
- Set the amount of times to repeat an action.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Never">
- <summary>
- This method must not appear in the replay state.
- This has special affects in that this method would now ignore orderring.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.#ctor(Rhino.Mocks.MockRepository,Rhino.Mocks.Impl.RecordMockState,Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Interfaces.IMethodOptions`1"/> instance.
- </summary>
- <param name="repository">the repository for this expectation</param>
- <param name="record">the recorder for this proxy</param>
- <param name="proxy">the proxy for this expectation</param>
- <param name="expectation">Expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Constraints(Rhino.Mocks.Constraints.AbstractConstraint[])">
- <summary>
- Add constraints for the method's arguments.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback(System.Delegate)">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback(Rhino.Mocks.Delegates.Function{System.Boolean})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``1(Rhino.Mocks.Delegates.Function{System.Boolean,``0})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``2(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``3(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``4(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``5(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``6(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``7(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``8(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``9(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``10(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Do(System.Delegate)">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.WhenCalled(System.Action{Rhino.Mocks.MethodInvocation})">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Return(`0)">
- <summary>
- Set the return value for the method.
- </summary>
- <param name="objToReturn">The object the method will return</param>
- <returns>IRepeat that defines how many times the method will return this value</returns>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.TentativeReturn">
- <summary>
- Set the return value for the method, but allow to override this return value in the future
- </summary>
- <returns>IRepeat that defines how many times the method will return this value</returns>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Throw(System.Exception)">
- <summary>
- Throws the specified exception when the method is called.
- </summary>
- <param name="exception">Exception to throw</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.IgnoreArguments">
- <summary>
- Ignores the arguments for this method. Any argument will be matched
- againt this method.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.CallOriginalMethod">
- <summary>
- Call the original method on the class, bypassing the mocking layers.
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.CallOriginalMethod(Rhino.Mocks.Interfaces.OriginalCallOptions)">
- <summary>
- Call the original method on the class, optionally bypassing the mocking layers
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.PropertyBehavior">
- <summary>
- Use the property as a simple property, getting/setting the values without
- causing mock expectations.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.SetPropertyAndIgnoreArgument">
- <summary>
- Expect last (property) call as property setting, ignore the argument given
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.SetPropertyWithArgument(`0)">
- <summary>
- Expect last (property) call as property setting with a given argument.
- </summary>
- <param name="argument"></param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.GetEventRaiser">
- <summary>
- Gets the event raiser for the last event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.OutRef(System.Object[])">
- <summary>
- Set the parameter values for out and ref parameters.
- This is done using zero based indexing, and _ignoring_ any non out/ref parameter.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Twice">
- <summary>
- Repeat the method twice.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Once">
- <summary>
- Repeat the method once.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.AtLeastOnce">
- <summary>
- Repeat the method at least once, then repeat as many time as it would like.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Never">
- <summary>
- This method must not appear in the replay state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Message(System.String)">
- <summary>
- Documentation message for the expectation
- </summary>
- <param name="documentationMessage">Message</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Any">
- <summary>
- Repeat the method any number of times.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Times(System.Int32,System.Int32)">
- <summary>
- Set the range to repeat an action.
- </summary>
- <param name="min">Min.</param>
- <param name="max">Max.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Times(System.Int32)">
- <summary>
- Set the amount of times to repeat an action.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.MethodOptions`1.Repeat">
- <summary>
- Better syntax to define repeats.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.MockedObjectsEquality">
- <summary>
- This class will provide hash code for hashtables without needing
- to call the GetHashCode() on the object, which may very well be mocked.
- This class has no state so it is a singelton to avoid creating a lot of objects
- that does the exact same thing. See flyweight patterns.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MockedObjectsEquality.GetHashCode(System.Object)">
- <summary>
- Get the hash code for a proxy object without calling GetHashCode()
- on the object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MockedObjectsEquality.Compare(System.Object,System.Object)">
- <summary>
- Compares two instances of mocked objects
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.MockedObjectsEquality.Equals(System.Object,System.Object)">
- <summary>
- Compare two mocked objects
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.MockedObjectsEquality.NextHashCode">
- <summary>
- The next hash code value for a mock object.
- This is safe for multi threading.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.MockedObjectsEquality.Instance">
- <summary>
- The sole instance of <see cref="T:Rhino.Mocks.Impl.MockedObjectsEquality"/>
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.NullLogger">
- <summary>
- Doesn't log anything, just makes happy noises
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IExpectationLogger">
- <summary>
- Log expectations - allows to see what is going on inside Rhino Mocks
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectationLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as is was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectationLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as it was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IExpectationLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
- <summary>
- Logs the unexpected method call.
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="message">The message.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.NullLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as is was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.NullLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as it was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.NullLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
- <summary>
- Logs the unexpected method call.
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="message">The message.</param>
- </member>
- <member name="T:Rhino.Mocks.Impl.ProxyInstance">
- <summary>
- This is a dummy type that is used merely to give DynamicProxy the proxy instance that
- it needs to create IProxy's types.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IMockedObject">
- <summary>
- Interface to find the repository of a mocked object
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.ShouldCallOriginal(System.Reflection.MethodInfo)">
- <summary>
- Return true if it should call the original method on the object
- instead of pass it to the message chain.
- </summary>
- <param name="method">The method to call</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.RegisterMethodForCallingOriginal(System.Reflection.MethodInfo)">
- <summary>
- Register a method to be called on the object directly
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.RegisterPropertyBehaviorFor(System.Reflection.PropertyInfo)">
- <summary>
- Register a property on the object that will behave as a simple property
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.IsPropertyMethod(System.Reflection.MethodInfo)">
- <summary>
- Check if the method was registered as a property method.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.HandleProperty(System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Do get/set on the property, according to need.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.HandleEvent(System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Do add/remove on the event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.GetEventSubscribers(System.String)">
- <summary>
- Get the subscribers of a spesific event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.GetDeclaringType(System.Reflection.MethodInfo)">
- <summary>
- Gets the declaring type of the method, taking into acccount the possible generic
- parameters that it was created with.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.ClearState(Rhino.Mocks.BackToRecordOptions)">
- <summary>
- Clears the state of the object, remove original calls, property behavior, subscribed events, etc.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.GetCallArgumentsFor(System.Reflection.MethodInfo)">
- <summary>
- Get all the method calls arguments that were made against this object with the specificed
- method.
- </summary>
- <remarks>
- Only method calls in replay mode are counted
- </remarks>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockedObject.MethodCall(System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Records the method call
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMockedObject.ProxyHash">
- <summary>
- The unique hash code of this mock, which is not related
- to the value of the GetHashCode() call on the object.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMockedObject.Repository">
- <summary>
- Gets the repository.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMockedObject.ImplementedTypes">
- <summary>
- Gets the implemented types by this mocked object
- </summary>
- <value>The implemented.</value>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMockedObject.ConstructorArguments">
- <summary>
- Gets or sets the constructor arguments.
- </summary>
- <value>The constructor arguments.</value>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.#ctor(Rhino.Mocks.MockRepository,System.Type[])">
- <summary>
- Create a new instance of <see cref="T:Rhino.Mocks.Impl.ProxyInstance"/>
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.ShouldCallOriginal(System.Reflection.MethodInfo)">
- <summary>
- Return true if it should call the original method on the object
- instead of pass it to the message chain.
- </summary>
- <param name="method">The method to call</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.RegisterMethodForCallingOriginal(System.Reflection.MethodInfo)">
- <summary>
- Register a method to be called on the object directly
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.RegisterPropertyBehaviorFor(System.Reflection.PropertyInfo)">
- <summary>
- Register a property on the object that will behave as a simple property
- Return true if there is already a value for the property
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.IsPropertyMethod(System.Reflection.MethodInfo)">
- <summary>
- Check if the method was registered as a property method.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.HandleProperty(System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Do get/set on the property, according to need.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.HandleEvent(System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Do add/remove on the event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.GetEventSubscribers(System.String)">
- <summary>
- Get the subscribers of a spesific event
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.GetDeclaringType(System.Reflection.MethodInfo)">
- <summary>
- Gets the declaring type of the method, taking into acccount the possible generic
- parameters that it was created with.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.GetCallArgumentsFor(System.Reflection.MethodInfo)">
- <summary>
- Get all the method calls arguments that were made against this object with the specificed
- method.
- </summary>
- <param name="method"></param>
- <returns></returns>
- <remarks>
- Only method calls in replay mode are counted
- </remarks>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.MethodCall(System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Records the method call
- </summary>
- <param name="method"></param>
- <param name="args"></param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ProxyInstance.ClearState(Rhino.Mocks.BackToRecordOptions)">
- <summary>
- Clears the state of the object, remove original calls, property behavior, subscribed events, etc.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.ProxyInstance.ProxyHash">
- <summary>
- The unique hash code of this proxy, which is not related
- to the value of the GetHashCode() call on the object.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.ProxyInstance.Repository">
- <summary>
- Gets the repository.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.ProxyInstance.ConstructorArguments">
- <summary>
- Gets or sets the constructor arguments.
- </summary>
- <value>The constructor arguments.</value>
- </member>
- <member name="P:Rhino.Mocks.Impl.ProxyInstance.ImplementedTypes">
- <summary>
- Gets the implemented types by this mocked object
- </summary>
- <value>The implemented.</value>
- </member>
- <member name="T:Rhino.Mocks.Impl.Range">
- <summary>
- Range for expected method calls
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.Range.#ctor(System.Int32,System.Int32)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.Range"/> instance.
- </summary>
- <param name="min">Min.</param>
- <param name="max">Max.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.Range.ToString">
- <summary>
- Return the string representation of this range.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.Range.Min">
- <summary>
- Gets or sets the min.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.Impl.Range.Max">
- <summary>
- Gets or sets the max.
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.Impl.RecordDynamicMockState">
- <summary>
- Records all the expectations for a mock and
- return a ReplayDynamicMockState when Replay()
- is called.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.RecordMockState">
- <summary>
- Records all the expectations for a mock
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IMockState">
- <summary>
- Different actions on this mock
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockState.Verify">
- <summary>
- Verify that this mock expectations have passed.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockState.Replay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockState.GetLastMethodOptions``1">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockState.SetExceptionToThrowOnVerify(System.Exception)">
- <summary>
- Set the exception to throw when Verify is called.
- This is used to report exception that may have happened but where caught in the code.
- This way, they are reported anyway when Verify() is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMockState.NotifyCallOnPropertyBehavior">
- <summary>
- This method is called to indicate that a property behavior call.
- This is done so we generate good error message in the common case of people using
- Stubbed properties with Return().
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMockState.VerifyState">
- <summary>
- Gets the matching verify state for this state
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMockState.LastMethodOptions">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.GetLastMethodOptions``1">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.SetExceptionToThrowOnVerify(System.Exception)">
- <summary>
- Set the exception to throw when Verify is called.
- This is used to report exception that may have happened but where caught in the code.
- This way, they are reported anyway when Verify() is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.NotifyCallOnPropertyBehavior">
- <summary>
- This method is called to indicate that a property behavior call.
- This is done so we generate good error message in the common case of people using
- Stubbed properties with Return().
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.RecordMockState"/> instance.
- </summary>
- <param name="repository">Repository.</param>
- <param name="mockedObject">The proxy that generates the method calls</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.Replay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.DoReplay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.Verify">
- <summary>
- Verify that this mock expectations have passed.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordMockState.AssertPreviousMethodIsClose">
- <summary>
- Asserts the previous method is closed (had an expectation set on it so we can replay it correctly)
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.RecordMockState.LastExpectation">
- <summary>
- Gets the last expectation.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.RecordMockState.MethodCallsCount">
- <summary>
- Gets the total method calls count.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.RecordMockState.LastMethodOptions">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.RecordMockState.VerifyState">
- <summary>
- Gets the matching verify state for this state
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordDynamicMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.RecordDynamicMockState"/> instance.
- </summary>
- <param name="repository">Repository.</param>
- <param name="mockedObject">The proxy that generates the method calls</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordDynamicMockState.DoReplay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordDynamicMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.RecordPartialMockState">
- <summary>
- Records all the expectations for a mock and
- return a ReplayPartialMockState when Replay()
- is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordPartialMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.RecordDynamicMockState"/> instance.
- </summary>
- <param name="repository">Repository.</param>
- <param name="mockedObject">The proxy that generates the method calls</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordPartialMockState.DoReplay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RecordPartialMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.RepeatableOption">
- <summary>
- Options for special repeat option
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.RepeatableOption.Normal">
- <summary>
- This method can be called only as many times as the IMethodOptions.Expect allows.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.RepeatableOption.Never">
- <summary>
- This method should never be called
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.RepeatableOption.Any">
- <summary>
- This method can be call any number of times
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.RepeatableOption.OriginalCall">
- <summary>
- This method will call the original method
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.RepeatableOption.OriginalCallBypassingMocking">
- <summary>
- This method will call the original method, bypassing the mocking layer
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.RepeatableOption.PropertyBehavior">
- <summary>
- This method will simulate simple property behavior
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.ReplayDynamicMockState">
- <summary>
- Validate all expectations on a mock and ignores calls to
- any method that was not setup properly.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.ReplayMockState">
- <summary>
- Validate all expectations on a mock
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.ReplayMockState.repository">
- <summary>
- The repository for this state
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.ReplayMockState.proxy">
- <summary>
- The proxy object for this state
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.GetLastMethodOptions``1">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.#ctor(Rhino.Mocks.Impl.RecordMockState)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.ReplayMockState"/> instance.
- </summary>
- <param name="previousState">The previous state for this method</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- This allows derived method to cleanly get a the setupresult behavior while adding
- their own.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.SetExceptionToThrowOnVerify(System.Exception)">
- <summary>
- Set the exception to throw when Verify is called.
- This is used to report exception that may have happened but where caught in the code.
- This way, they are reported anyway when Verify() is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.NotifyCallOnPropertyBehavior">
- <summary>
- not relevant
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.Verify">
- <summary>
- Verify that this mock expectations have passed.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.Replay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.ReplayMockState.LastMethodOptions">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.ReplayMockState.VerifyState">
- <summary>
- Gets the matching verify state for this state
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayDynamicMockState.#ctor(Rhino.Mocks.Impl.RecordDynamicMockState)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.ReplayDynamicMockState"/> instance.
- </summary>
- <param name="previousState">The previous state for this method</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayDynamicMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayDynamicMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.ReplayPartialMockState">
- <summary>
- Validate all expectations on a mock and ignores calls to
- any method that was not setup properly.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayPartialMockState.#ctor(Rhino.Mocks.Impl.RecordPartialMockState)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.ReplayDynamicMockState"/> instance.
- </summary>
- <param name="previousState">The previous state for this method</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayPartialMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.ReplayPartialMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.RhinoInterceptor">
- <summary>
- Summary description for RhinoInterceptor.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RhinoInterceptor.#ctor(Rhino.Mocks.MockRepository,Rhino.Mocks.Interfaces.IMockedObject)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.Impl.RhinoInterceptor"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.RhinoInterceptor.Intercept(Castle.Core.Interceptor.IInvocation)">
- <summary>
- Intercept a method call and direct it to the repository.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.StubRecordMockState">
- <summary>
- Behave like a stub, all properties and events acts normally, methods calls
- return default values by default (but can use expectations to set them up), etc.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.StubRecordMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.StubRecordMockState"/> class.
- </summary>
- <param name="mockedObject">The proxy that generates the method calls</param>
- <param name="repository">Repository.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.StubRecordMockState.AssertPreviousMethodIsClose">
- <summary>
- We don't care much about expectations here, so we will remove the exepctation if
- it is not closed.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.StubRecordMockState.Replay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- <returns></returns>
- </member>
- <member name="T:Rhino.Mocks.Impl.StubReplayMockState">
- <summary>
- Validate expectations on recorded methods, but in general completely ignoring them.
- Similar to <seealso cref="T:Rhino.Mocks.Impl.ReplayDynamicMockState"/> except that it would return a
- <seealso cref="T:Rhino.Mocks.Impl.StubRecordMockState"/> when BackToRecord is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.StubReplayMockState.#ctor(Rhino.Mocks.Impl.RecordMockState)">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.StubReplayMockState"/> class.
- </summary>
- <param name="previousState">The previous state for this method</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.StubReplayMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.StubReplayMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.TextWriterExpectationLogger">
- <summary>
- Rudimetry implementation that simply logs methods calls as text.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.#ctor(System.IO.TextWriter)">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.TextWriterExpectationLogger"/> class.
- </summary>
- <param name="writer">The writer.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as is was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as it was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
- <summary>
- Logs the unexpected method call.
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="message">The message.</param>
- </member>
- <member name="T:Rhino.Mocks.Impl.TraceWriterExpectationLogger">
- <summary>
- Write rhino mocks log info to the trace
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.TraceWriterExpectationLogger"/> class.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.#ctor(System.Boolean,System.Boolean,System.Boolean)">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.TraceWriterExpectationLogger"/> class.
- </summary>
- <param name="logRecorded">if set to <c>true</c> [log recorded].</param>
- <param name="logReplayed">if set to <c>true</c> [log replayed].</param>
- <param name="logUnexpected">if set to <c>true</c> [log unexpected].</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as is was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as it was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
- <summary>
- Logs the unexpected method call.
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="message">The message.</param>
- </member>
- <member name="T:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter">
- <summary>
- Writes log information as stack traces about rhino mocks activity
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.AlternativeWriter">
- <summary>
- Allows to redirect output to a different location.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as is was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Logs the expectation as it was recorded
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="expectation">The expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
- <summary>
- Logs the unexpected method call.
- </summary>
- <param name="invocation">The invocation.</param>
- <param name="message">The message.</param>
- </member>
- <member name="T:Rhino.Mocks.Impl.Validate">
- <summary>
- Validate arguments for methods
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.Validate.IsNotNull(System.Object,System.String)">
- <summary>
- Validate that the passed argument is not null.
- </summary>
- <param name="obj">The object to validate</param>
- <param name="name">The name of the argument</param>
- <exception cref="T:System.ArgumentNullException">
- If the obj is null, an ArgumentNullException with the passed name
- is thrown.
- </exception>
- </member>
- <member name="M:Rhino.Mocks.Impl.Validate.ArgsEqual(System.Object[],System.Object[])">
- <summary>
- Validate that the arguments are equal.
- </summary>
- <param name="expectedArgs">Expected args.</param>
- <param name="actualArgs">Actual Args.</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.Validate.AreEqual(System.Object,System.Object)">
- <summary>
- Validate that the two argument are equals, including validation for
- when the arguments are collections, in which case it will validate their values.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.Validate.SafeEquals(System.Object,System.Object)">
- <summary>
- This method is safe for use even if any of the objects is a mocked object
- that override equals.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Impl.VerifiedMockState">
- <summary>
- Throw an object already verified when accessed
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.#ctor(Rhino.Mocks.Interfaces.IMockState)">
- <summary>
- Create a new instance of VerifiedMockState
- </summary>
- <param name="previous">The previous mock state, used to get the initial record state</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Add a method call for this state' mock.
- </summary>
- <param name="invocation">The invocation for this method</param>
- <param name="method">The method that was called</param>
- <param name="args">The arguments this method was called with</param>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.Verify">
- <summary>
- Verify that this mock expectations have passed.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.Replay">
- <summary>
- Verify that we can move to replay state and move
- to the reply state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.BackToRecord">
- <summary>
- Gets a mock state that match the original mock state of the object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.GetLastMethodOptions``1">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.SetExceptionToThrowOnVerify(System.Exception)">
- <summary>
- Set the exception to throw when Verify is called.
- This is used to report exception that may have happened but where caught in the code.
- This way, they are reported anyway when Verify() is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Impl.VerifiedMockState.NotifyCallOnPropertyBehavior">
- <summary>
- not relevant
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.VerifiedMockState.VerifyState">
- <summary>
- Gets the matching verify state for this state
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Impl.VerifiedMockState.LastMethodOptions">
- <summary>
- Get the options for the last method call
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IMethodRecorder">
- <summary>
- Records the actions on all the mocks created by a repository.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.Record(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Records the specified call with the specified args on the mocked object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Get the expectation for this method on this object with this arguments
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetRepeatableExpectation(System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- This check the methods that were setup using the SetupResult.For()
- or LastCall.Repeat.Any() and that bypass the whole expectation model.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetAllExpectationsForProxyAndMethod(System.Object,System.Reflection.MethodInfo)">
- <summary>
- Gets the all expectations for a mocked object and method combination,
- regardless of the expected arguments / callbacks / contraints.
- </summary>
- <param name="proxy">Mocked object.</param>
- <param name="method">Method.</param>
- <returns>List of all relevant expectation</returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetAllExpectationsForProxy(System.Object)">
- <summary>
- Gets the all expectations for proxy.
- </summary>
- <param name="proxy">Mocked object.</param>
- <returns>List of all relevant expectation</returns>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.RemoveAllRepeatableExpectationsForProxy(System.Object)">
- <summary>
- Removes all the repeatable expectations for proxy.
- </summary>
- <param name="proxy">Mocked object.</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.ReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Replaces the old expectation with the new expectation for the specified proxy/method pair.
- This replace ALL expectations that equal to old expectations.
- </summary>
- <param name="proxy">Proxy.</param>
- <param name="method">Method.</param>
- <param name="oldExpectation">Old expectation.</param>
- <param name="newExpectation">New expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.AddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Adds the recorder and turn it into the active recorder.
- </summary>
- <param name="recorder">Recorder.</param>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.MoveToPreviousRecorder">
- <summary>
- Moves to previous recorder.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Gets the recorded expectation or null.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetExpectedCallsMessage">
- <summary>
- Gets the next expected calls string.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.MoveToParentReplayer">
- <summary>
- Moves to parent recorder.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.AddToRepeatableMethods(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Set the expectation so it can repeat any number of times.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.RemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Removes the expectation from the recorder
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.ClearReplayerToCall(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Clear the replayer to call (and all its chain of replayers)
- This also removes it from the list of expectations, so it will never be considered again
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Get the expectation for this method on this object with this arguments
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Interfaces.IMethodRecorder.HasExpectations">
- <summary>
- Gets a value indicating whether this instance has expectations that weren't satisfied yet.
- </summary>
- <value>
- <c>true</c> if this instance has expectations; otherwise, <c>false</c>.
- </value>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.IPartialMockMarker">
- <summary>
- Marker interface used to indicate that this is a partial mock.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Interfaces.OriginalCallOptions">
- <summary>
- Options for CallOriginalMethod
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Interfaces.OriginalCallOptions.NoExpectation">
- <summary>
- No expectation is created, the method will be called directly
- </summary>
- </member>
- <member name="F:Rhino.Mocks.Interfaces.OriginalCallOptions.CreateExpectation">
- <summary>
- Normal expectation is created, but when the method is later called, it will also call the original method
- </summary>
- </member>
- <member name="T:Rhino.Mocks.MethodRecorders.MethodRecorderBase">
- <summary>
- Base class for method recorders, handle delegating to inner recorder if needed.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.recordedActions">
- <summary>
- List of the expected actions on for this recorder
- The legal values are:
- * Expectations
- * Method Recorders
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.recorderToCall">
- <summary>
- The current recorder.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.replayerToCall">
- <summary>
- The current replayer;
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.parentRecorder">
- <summary>
- The parent recorder of this one, may be null.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.replayersToIgnoreForThisCall">
- <summary>
- This contains a list of all the replayers that should be ignored
- for a spesific method call. A replayer gets into this list by calling
- ClearReplayerToCall() on its parent. This list is Clear()ed on each new invocation.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.repeatableMethods">
- <summary>
- All the repeatable methods calls.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.recursionDepth">
- <summary>
- Counts the recursion depth of the current expectation search stack
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.#ctor(Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.MethodRecorderBase"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.#ctor(Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.MethodRecorderBase"/> instance.
- </summary>
- <param name="parentRecorder">Parent recorder.</param>
- <param name="repeatableMethods">Repeatable methods</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.Record(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Records the specified call with the specified args on the mocked object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Get the expectation for this method on this object with this arguments
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetAllExpectationsForProxyAndMethod(System.Object,System.Reflection.MethodInfo)">
- <summary>
- Gets the all expectations for a mocked object and method combination,
- regardless of the expected arguments / callbacks / contraints.
- </summary>
- <param name="proxy">Mocked object.</param>
- <param name="method">Method.</param>
- <returns>List of all relevant expectation</returns>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetAllExpectationsForProxy(System.Object)">
- <summary>
- Gets the all expectations for proxy.
- </summary>
- <param name="proxy">Mocked object.</param>
- <returns>List of all relevant expectation</returns>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.ReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Replaces the old expectation with the new expectation for the specified proxy/method pair.
- This replace ALL expectations that equal to old expectations.
- </summary>
- <param name="proxy">Proxy.</param>
- <param name="method">Method.</param>
- <param name="oldExpectation">Old expectation.</param>
- <param name="newExpectation">New expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.RemoveAllRepeatableExpectationsForProxy(System.Object)">
- <summary>
- Remove the all repeatable expectations for proxy.
- </summary>
- <param name="proxy">Mocked object.</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.AddToRepeatableMethods(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Set the expectation so it can repeat any number of times.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.RemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Removes the expectation from the recorder
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.AddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Adds the recorder and turn it into the active recorder.
- </summary>
- <param name="recorder">Recorder.</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.MoveToPreviousRecorder">
- <summary>
- Moves to previous recorder.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.MoveToParentReplayer">
- <summary>
- Moves to parent recorder.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Gets the recorded expectation or null.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.ClearReplayerToCall(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Clear the replayer to call (and all its chain of replayers).
- This also removes it from the list of expectations, so it will never be considered again
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Get the expectation for this method on this object with this arguments
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetExpectedCallsMessage">
- <summary>
- Gets the next expected calls string.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoGetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Handles the real getting of the recorded expectation or null.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoRecord(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoGetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoGetAllExpectationsForProxy(System.Object)">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoRemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoAddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.ShouldConsiderThisReplayer(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Should this replayer be considered valid for this call?
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetRepeatableExpectation(System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- This check the methods that were setup using the SetupResult.For()
- or LastCall.Repeat.Any() and that bypass the whole expectation model.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.MethodRecorderBase.HasExpectations">
- <summary>
- Gets a value indicating whether this instance has expectations that weren't satisfied yet.
- </summary>
- <value>
- <c>true</c> if this instance has expectations; otherwise, <c>false</c>.
- </value>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoHasExpectations">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="T:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder">
- <summary>
- Ordered collection of methods, methods must arrive in specified order
- in order to pass.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder">
- <summary>
- Unordered collection of method records, any expectation that exist
- will be matched.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.parentRecorderRedirection">
- <summary>
- The parent recorder we have redirected to.
- Useful for certain edge cases in orderring.
- See: FieldProblem_Entropy for the details.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.#ctor(Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder"/> instance.
- </summary>
- <param name="parentRecorder">Parent recorder.</param>
- <param name="repeatableMethods">Repeatable methods</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.#ctor(Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoRecord(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Records the specified call with the specified args on the mocked object.
- </summary>
- <param name="proxy">Mocked object.</param>
- <param name="method">Method.</param>
- <param name="expectation">Expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoGetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Get the expectation for this method on this object with this arguments
- </summary>
- <param name="invocation">Invocation for this method</param>
- <param name="proxy">Mocked object.</param>
- <param name="method">Method.</param>
- <param name="args">Args.</param>
- <returns>True is the call was recorded, false otherwise</returns>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.GetAllExpectationsForProxyAndMethod(System.Object,System.Reflection.MethodInfo)">
- <summary>
- Gets the all expectations for a mocked object and method combination,
- regardless of the expected arguments / callbacks / contraints.
- </summary>
- <param name="proxy">Mocked object.</param>
- <param name="method">Method.</param>
- <returns>List of all relevant expectation</returns>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoGetAllExpectationsForProxy(System.Object)">
- <summary>
- Gets the all expectations for proxy.
- </summary>
- <param name="proxy">Mocked object.</param>
- <returns>List of all relevant expectation</returns>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Replaces the old expectation with the new expectation for the specified proxy/method pair.
- This replace ALL expectations that equal to old expectations.
- </summary>
- <param name="proxy">Proxy.</param>
- <param name="method">Method.</param>
- <param name="oldExpectation">Old expectation.</param>
- <param name="newExpectation">New expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoRemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoGetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Handles the real getting of the recorded expectation or null.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoAddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Handle the real execution of this method for the derived class
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.GetExpectedCallsMessage">
- <summary>
- Gets the next expected calls string.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Create an exception for an unexpected method call.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoHasExpectations">
- <summary>
- Gets a value indicating whether this instance has expectations that weren't satisfied yet.
- </summary>
- <value>
- <c>true</c> if this instance has expectations; otherwise, <c>false</c>.
- </value>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.#ctor(Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder"/> instance.
- </summary>
- <param name="parentRecorder">Parent recorder.</param>
- <param name="repeatableMethods">Repetable methods</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.#ctor(Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.DoGetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Handles the real getting of the recorded expectation or null.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Get the expectation for this method on this object with this arguments
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.GetExpectedCallsMessage">
- <summary>
- Gets the next expected calls string.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet">
- <summary>
- Hold an expectation for a method call on an object
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.#ctor(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet"/> instance.
- </summary>
- <param name="proxy">Proxy.</param>
- <param name="method">Method.</param>
- <param name="expectation">Expectation.</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Equals(System.Object)">
- <summary>
- Determains if the object equal to this instance
- </summary>
- <param name="obj">Obj.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.GetHashCode">
- <summary>
- Gets the hash code.
- </summary>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Proxy">
- <summary>
- Gets the proxy.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Method">
- <summary>
- Gets the method.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Expectation">
- <summary>
- Gets the expectation.
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.MethodRecorders.ProxyMethodPair">
- <summary>
- Holds a pair of mocked object and a method
- and allows to compare them against each other.
- This allows us to have a distinction between mockOne.MyMethod() and
- mockTwo.MyMethod()...
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodPair.#ctor(System.Object,System.Reflection.MethodInfo)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.ProxyMethodPair"/> instance.
- </summary>
- <param name="proxy">Proxy.</param>
- <param name="method">Method.</param>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodPair.Equals(System.Object)">
- <summary>
- Determains whatever obj equals to this instance.
- ProxyMethodPairs are equals when they point to the same /instance/ of
- an object, and to the same method.
- </summary>
- <param name="obj">Obj.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodPair.GetHashCode">
- <summary>
- Gets the hash code.
- </summary>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodPair.Proxy">
- <summary>
- Gets the proxy.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodPair.Method">
- <summary>
- Gets the method.
- </summary>
- <value></value>
- </member>
- <member name="T:Rhino.Mocks.MethodRecorders.RecorderChanger">
- <summary>
- Change the recorder from ordered to unordered and vice versa
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.RecorderChanger.#ctor(Rhino.Mocks.MockRepository,Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.RecorderChanger"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodRecorders.RecorderChanger.Dispose">
- <summary>
- Disposes this instance.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Utilities.GenericsUtil">
- <summary>
- Utility class for dealing with messing generics scenarios.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Utilities.GenericsUtil.HasOpenGenericParam(System.Type)">
- <summary>
- There are issues with trying to get this to work correctly with open generic types, since this is an edge case,
- I am letting the runtime handle it.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Utilities.GenericsUtil.GetRealType(System.Type,Castle.Core.Interceptor.IInvocation)">
- <summary>
- Gets the real type, including de-constructing and constructing the type of generic
- methods parameters.
- </summary>
- <param name="type">The type.</param>
- <param name="invocation">The invocation.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Utilities.GenericsUtil.ReconstructGenericType(System.Type,System.Collections.Generic.Dictionary{System.String,System.Type})">
- <summary>
- Because we need to support complex types here (simple generics were handled above) we
- need to be aware of the following scenarios:
- List[T] and List[Foo[T]]
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Utilities.MethodCallUtil">
- <summary>
- Utility class for working with method calls.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Utilities.MethodCallUtil.StringPresentation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Utilities.MethodCallUtil.FormatArgumnet,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Return the string representation of a method call and its arguments.
- </summary>
- <param name="method">The method</param>
- <param name="args">The method arguments</param>
- <param name="invocation">Invocation of the method, used to get the generics arguments</param>
- <param name="format">Delegate to format the parameter</param>
- <returns>The string representation of this method call</returns>
- </member>
- <member name="M:Rhino.Mocks.Utilities.MethodCallUtil.StringPresentation(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
- <summary>
- Return the string representation of a method call and its arguments.
- </summary>
- <param name="invocation">The invocation of the method, used to get the generic parameters</param>
- <param name="method">The method</param>
- <param name="args">The method arguments</param>
- <returns>The string representation of this method call</returns>
- </member>
- <member name="T:Rhino.Mocks.Utilities.MethodCallUtil.FormatArgumnet">
- <summary>
- Delegate to format the argument for the string representation of
- the method call.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Utilities.ReturnValueUtil">
- <summary>
- Utility to get the default value for a type
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Utilities.ReturnValueUtil.DefaultValue(System.Type,Castle.Core.Interceptor.IInvocation)">
- <summary>
- The default value for a type.
- Null for reference types and void
- 0 for value types.
- First element for enums
- Note that we need to get the value even for opened generic types, such as those from
- generic methods.
- </summary>
- <param name="type">Type.</param>
- <param name="invocation">The invocation.</param>
- <returns>the default value</returns>
- </member>
- <member name="T:Rhino.Mocks.Arg`1">
- <summary>
- Defines constraints and return values for arguments of a mock.
- Only use Arg inside a method call on a mock that is recording.
- Example:
- ExpectCall(
- mock.foo(
- Arg<int>.Is.GreaterThan(2),
- Arg<string>.Is.Anything
- ));
- Use Arg.Text for string specific constraints
- Use Arg<ListClass>.List for list specific constraints
- </summary>
- <typeparam name="T"></typeparam>
- </member>
- <member name="M:Rhino.Mocks.Arg`1.Matches(System.Linq.Expressions.Expression{System.Predicate{`0}})">
- <summary>
- Register the predicate as a constraint for the current call.
- </summary>
- <param name="predicate">The predicate.</param>
- <returns>default(T)</returns>
- <example>
- Allow you to use code to create constraints
- <code>
- demo.AssertWasCalled(x => x.Bar(Arg{string}.Matches(a => a.StartsWith("b") && a.Contains("ba"))));
- </code>
- </example>
- </member>
- <member name="M:Rhino.Mocks.Arg`1.Matches(Rhino.Mocks.Constraints.AbstractConstraint)">
- <summary>
- Define a complex constraint for this argument by passing several constraints
- combined with operators. (Use Is in simple cases.)
- Example: Arg<string>.Matches(Is.Equal("Hello") || Text.EndsWith("u"));
- </summary>
- <param name="constraint">Constraints using Is, Text and List</param>
- <returns>Dummy to satisfy the compiler</returns>
- </member>
- <member name="M:Rhino.Mocks.Arg`1.Ref(Rhino.Mocks.Constraints.AbstractConstraint,`0)">
- <summary>
- Define a Ref argument.
- </summary>
- <param name="constraint">Constraints for this argument</param>
- <param name="returnValue">value returned by the mock</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.Arg`1.Out(`0)">
- <summary>
- Define a out parameter. Use it together with the keyword out and use the
- Dummy field available by the return value.
- Example: mock.foo( out Arg<string>.Out("hello").Dummy );
- </summary>
- <param name="returnValue"></param>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.Arg`1.Is">
- <summary>
- Define a simple constraint for this argument. (Use Matches in simple cases.)
- Example:
- Arg<int>.Is.Anthing
- Arg<string>.Is.Equal("hello")
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Arg`1.List">
- <summary>
- Define Constraints on list arguments.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Arg">
- <summary>
- Use the Arg class (without generic) to define Text constraints
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Arg.Is``1(``0)">
- <summary>
- Evaluate an equal constraint for <see cref="T:System.IComparable"/>.
- </summary>
- <param name="arg">The object the parameter should equal to</param>
- </member>
- <member name="P:Rhino.Mocks.Arg.Text">
- <summary>
- Define constraints on text arguments.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.ArgManager">
- <summary>
- Used to manage the static state of the Arg<T> class"/>
- </summary>
- </member>
- <member name="M:Rhino.Mocks.ArgManager.Clear">
- <summary>
- Resets the static state
- </summary>
- </member>
- <member name="M:Rhino.Mocks.ArgManager.GetAllReturnValues">
- <summary>
- Returns return values for the out and ref parameters
- Note: the array returned has the size of the number of out and ref
- argument definitions
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.ArgManager.GetAllConstraints">
- <summary>
- Returns the constraints for all arguments.
- Out arguments have an Is.Anything constraint and are also in the list.
- </summary>
- <returns></returns>
- </member>
- <member name="T:Rhino.Mocks.BackToRecordOptions">
- <summary>
- What should BackToRecord clear
- </summary>
- </member>
- <member name="F:Rhino.Mocks.BackToRecordOptions.None">
- <summary>
- Retain all expectations and behaviors and return to mock
- </summary>
- </member>
- <member name="F:Rhino.Mocks.BackToRecordOptions.Expectations">
- <summary>
- All expectations
- </summary>
- </member>
- <member name="F:Rhino.Mocks.BackToRecordOptions.EventSubscribers">
- <summary>
- Event subscribers for this instance
- </summary>
- </member>
- <member name="F:Rhino.Mocks.BackToRecordOptions.OriginalMethodsToCall">
- <summary>
- Methods that should be forwarded to the base class implementation
- </summary>
- </member>
- <member name="F:Rhino.Mocks.BackToRecordOptions.PropertyBehavior">
- <summary>
- Properties that should behave like properties
- </summary>
- </member>
- <member name="F:Rhino.Mocks.BackToRecordOptions.All">
- <summary>
- Remove all the behavior of the object
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Function`2">
- <summary>
- This delegate is compatible with the System.Func{T,R} signature
- We have to define our own to get compatability with 2.0
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates">
- <summary>
- This class defines a lot of method signatures, which we will use
- to allow compatability on net-2.0
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`1">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`2">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`2">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`3">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`3">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`4">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`4">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`5">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`5">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`6">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`6">
- <summary>
- dummy
- </summary>
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`7">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`7">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`8">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`8">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`9">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`9">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`10">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Action`10">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Delegates.Function`11">
- <summary>
- dummy
- </summary>
- </member>
- <member name="T:Rhino.Mocks.DoNotExpect">
- <summary>
- Allows expectations to be set on methods that should never be called.
- For methods with void return value, you need to use LastCall or
- DoNotExpect.Call() with a delegate.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.DoNotExpect.Call(System.Object)">
- <summary>
- Sets LastCall.Repeat.Never() on /any/ proxy on /any/ repository on the current thread.
- This method if not safe for multi threading scenarios.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.DoNotExpect.Call(Rhino.Mocks.Expect.Action)">
- <summary>
- Accepts a delegate that will execute inside the method which
- LastCall.Repeat.Never() will be applied to.
- It is expected to be used with anonymous delegates / lambda expressions and only one
- method should be called.
- </summary>
- <example>
- IService mockSrv = mocks.CreateMock(typeof(IService)) as IService;
- DoNotExpect.Call(delegate{ mockSrv.Stop(); });
- ...
- </example>
- </member>
- <member name="T:Rhino.Mocks.Expect">
- <summary>
- Allows to set expectation on methods that has return values.
- For methods with void return value, you need to use LastCall
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expect.Call``1(``0)">
- <summary>
- The method options for the last call on /any/ proxy on /any/ repository on the current thread.
- This method if not safe for multi threading scenarios, use <see cref="M:Rhino.Mocks.Expect.On(System.Object)"/>.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.Expect.Call(Rhino.Mocks.Expect.Action)">
- <summary>
- Accepts a delegate that will execute inside the method, and then return the resulting
- <see cref="T:Rhino.Mocks.Interfaces.IMethodOptions`1"/> instance.
- It is expected to be used with anonymous delegates / lambda expressions and only one
- method should be called.
- </summary>
- <example>
- IService mockSrv = mocks.CreateMock(typeof(IService)) as IService;
- Expect.Call(delegate{ mockSrv.Start(); }).Throw(new NetworkException());
- ...
- </example>
- </member>
- <member name="M:Rhino.Mocks.Expect.On(System.Object)">
- <summary>
- Get the method options for the last method call on the mockInstance.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.Expect.Action">
- <summary>
- A delegate that can be used to get better syntax on Expect.Call(delegate { foo.DoSomething(); });
- </summary>
- </member>
- <member name="T:Rhino.Mocks.LastCall">
- <summary>
- Allows to set various options for the last method call on
- a specified object.
- If the method has a return value, it's recommended to use Expect
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.On(System.Object)">
- <summary>
- Allows to get an interface to work on the last call.
- </summary>
- <param name="mockedInstance">The mocked object</param>
- <returns>Interface that allows to set options for the last method call on this object</returns>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Return``1(``0)">
- <summary>
- Set the return value for the method.
- </summary>
- <param name="objToReturn">The object the method will return</param>
- <returns>IRepeat that defines how many times the method will return this value</returns>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Return(System.Object)">
- <summary>
- Set the return value for the method. This overload is needed for LastCall.Return(null)
- </summary>
- <param name="objToReturn">The object the method will return</param>
- <returns>IRepeat that defines how many times the method will return this value</returns>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Throw(System.Exception)">
- <summary>
- Throws the specified exception when the method is called.
- </summary>
- <param name="exception">Exception to throw</param>
- </member>
- <member name="M:Rhino.Mocks.LastCall.IgnoreArguments">
- <summary>
- Ignores the arguments for this method. Any argument will be matched
- againt this method.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Constraints(Rhino.Mocks.Constraints.AbstractConstraint[])">
- <summary>
- Add constraints for the method's arguments.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback(System.Delegate)">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback(Rhino.Mocks.Delegates.Function{System.Boolean})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``1(Rhino.Mocks.Delegates.Function{System.Boolean,``0})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``2(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``3(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``4(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``5(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``6(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``7(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``8(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``9(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Callback``10(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
- <summary>
- Set a callback method for the last call
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.CallOriginalMethod">
- <summary>
- Call the original method on the class, bypassing the mocking layers, for the last call.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.CallOriginalMethod(Rhino.Mocks.Interfaces.OriginalCallOptions)">
- <summary>
- Call the original method on the class, optionally bypassing the mocking layers, for the last call.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Do(System.Delegate)">
- <summary>
- Set a delegate to be called when the expectation is matched.
- The delegate return value will be returned from the expectation.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.GetEventRaiser">
- <summary>
- Gets an interface that will raise the last event when called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.OutRef(System.Object[])">
- <summary>
- Set the parameter values for out and ref parameters.
- This is done using zero based indexing, and _ignoring_ any non out/ref parameter.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.LastCall.Message(System.String)">
- <summary>
- Documentation message for the expectation
- </summary>
- <param name="documentationMessage">Message</param>
- </member>
- <member name="M:Rhino.Mocks.LastCall.PropertyBehavior">
- <summary>
- Use the property as a simple property, getting/setting the values without
- causing mock expectations.
- </summary>
- </member>
- <member name="P:Rhino.Mocks.LastCall.Repeat">
- <summary>
- Better syntax to define repeats.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.MethodInvocation">
- <summary>
- This is a data structure that is used by
- <seealso cref="M:Rhino.Mocks.Interfaces.IMethodOptions`1.WhenCalled(System.Action{Rhino.Mocks.MethodInvocation})"/> to pass
- the current method to the relevant delegate
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MethodInvocation.#ctor(Castle.Core.Interceptor.IInvocation)">
- <summary>
- Initializes a new instance of the <see cref="T:Rhino.Mocks.MethodInvocation"/> class.
- </summary>
- <param name="invocation">The invocation.</param>
- </member>
- <member name="P:Rhino.Mocks.MethodInvocation.Arguments">
- <summary>
- Gets the args for this method invocation
- </summary>
- </member>
- <member name="P:Rhino.Mocks.MethodInvocation.ReturnValue">
- <summary>
- Gets or sets the return value for this method invocation
- </summary>
- <value>The return value.</value>
- </member>
- <member name="T:Rhino.Mocks.Mocker">
- <summary>
- Accessor for the current mocker
- </summary>
- </member>
- <member name="P:Rhino.Mocks.Mocker.Current">
- <summary>
- The current mocker
- </summary>
- </member>
- <member name="T:Rhino.Mocks.MockRepository">
- <summary>
- Creates proxied instances of types.
- </summary>
- <summary>
- Adds optional new usage:
- using(mockRepository.Record()) {
- Expect.Call(mock.Method()).Return(retVal);
- }
- using(mockRepository.Playback()) {
- // Execute code
- }
- N.B. mockRepository.ReplayAll() and mockRepository.VerifyAll()
- calls are taken care of by Record/Playback
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MockRepository.generatorMap">
- <summary>
- This is a map of types to ProxyGenerators.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MockRepository.lastRepository">
- <summary>
- This is used to record the last repository that has a method called on it.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MockRepository.lastMockedObject">
- <summary>
- this is used to get to the last proxy on this repository.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MockRepository.delegateProxies">
- <summary>
- For mock delegates, maps the proxy instance from intercepted invocations
- back to the delegate that was originally returned to client code, if any.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MockRepository.proxies">
- <summary>
- All the proxies in the mock repositories
- </summary>
- </member>
- <member name="F:Rhino.Mocks.MockRepository.repeatableMethods">
- <summary>
- This is here because we can't put it in any of the recorders, since repeatable methods
- have no orderring, and if we try to handle them using the usual manner, we would get into
- wierd situations where repeatable method that was defined in an orderring block doesn't
- exists until we enter this block.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.#ctor">
- <summary>
- Creates a new <see cref="T:Rhino.Mocks.MockRepository"/> instance.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Ordered">
- <summary>
- Move the repository to ordered mode
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Unordered">
- <summary>
- Move the repository to un-ordered mode
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMock(System.Type,System.Object[])">
- <summary>
- Creates a mock for the specified type.
- </summary>
- <param name="type">Type.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMock(System.Type,System.Object[])">
- <summary>
- Creates a strict mock for the specified type.
- </summary>
- <param name="type">Type.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMockWithRemoting(System.Type,System.Object[])">
- <summary>
- Creates a remoting mock for the specified type.
- </summary>
- <param name="type">Type.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMockWithRemoting(System.Type,System.Object[])">
- <summary>
- Creates a strict remoting mock for the specified type.
- </summary>
- <param name="type">Type.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMockWithRemoting``1(System.Object[])">
- <summary>
- Creates a remoting mock for the specified type.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMockWithRemoting``1(System.Object[])">
- <summary>
- Creates a strict remoting mock for the specified type.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock(System.Type,System.Type[])">
- <summary>
- Creates a mock from several types, with strict semantics.
- Only <paramref name="mainType"/> may be a class.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock(System.Type,System.Type[])">
- <summary>
- Creates a strict mock from several types, with strict semantics.
- Only <paramref name="mainType"/> may be a class.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock(System.Type,System.Type[],System.Object[])">
- <summary>
- Creates a mock from several types, with strict semantics.
- Only <paramref name="mainType"/> may be a class.
- </summary>
- <param name="mainType">The main type to mock.</param>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock(System.Type,System.Type[],System.Object[])">
- <summary>
- Creates a strict mock from several types, with strict semantics.
- Only <paramref name="mainType"/> may be a class.
- </summary>
- <param name="mainType">The main type to mock.</param>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock(System.Type,System.Type[])">
- <summary>
- Creates a mock from several types, with dynamic semantics.
- Only <paramref name="mainType"/> may be a class.
- </summary>
- <param name="mainType">The main type to mock.</param>
- <param name="extraTypes">Extra interface types to mock.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock(System.Type,System.Type[],System.Object[])">
- <summary>
- Creates a mock from several types, with dynamic semantics.
- Only <paramref name="mainType"/> may be a class.
- </summary>
- <param name="mainType">The main type to mock.</param>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMock(System.Type,System.Object[])">
- <summary>
- Creates a dynamic mock for the specified type.
- </summary>
- <param name="type">Type.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMockWithRemoting(System.Type,System.Object[])">
- <summary>
- Creates a dynamic mock for the specified type.
- </summary>
- <param name="type">Type.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMockWithRemoting``1(System.Object[])">
- <summary>
- Creates a dynamic mock for the specified type.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PartialMock(System.Type,System.Object[])">
- <summary>
- Creates a mock object that defaults to calling the class methods.
- </summary>
- <param name="type">Type.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock(System.Type,System.Type[])">
- <summary>
- Creates a mock object that defaults to calling the class methods.
- </summary>
- <param name="type">Type.</param>
- <param name="extraTypes">Extra interface types to mock.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock(System.Type,System.Type[],System.Object[])">
- <summary>
- Creates a mock object that defaults to calling the class methods.
- </summary>
- <param name="type">Type.</param>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.RemotingMock(System.Type,Rhino.Mocks.MockRepository.CreateMockState)">
- <summary>
- Creates a mock object using remoting proxies
- </summary>
- <param name="type">Type to mock - must be MarshalByRefObject</param>
- <returns>Mock object</returns>
- <remarks>Proxy mock can mock non-virtual methods, but not static methods</remarks>
- <param name="factory">Creates the mock state for this proxy</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Replay(System.Object)">
- <summary>
- Cause the mock state to change to replay, any further call is compared to the
- ones that were called in the record state.
- </summary>
- <param name="obj">the object to move to replay state</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.ReplayCore(System.Object,System.Boolean)">
- <summary>
- Cause the mock state to change to replay, any further call is compared to the
- ones that were called in the record state.
- </summary>
- <param name="obj">the object to move to replay state</param>
- <param name="checkInsideOrdering"></param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.BackToRecord(System.Object)">
- <summary>
- Move the mocked object back to record state.
- Will delete all current expectations!
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.BackToRecord(System.Object,Rhino.Mocks.BackToRecordOptions)">
- <summary>
- Move the mocked object back to record state.
- Optionally, can delete all current expectations, but allows more granularity about how
- it would behave with regard to the object state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Verify(System.Object)">
- <summary>
- Verify that all the expectations for this object were fulfilled.
- </summary>
- <param name="obj">the object to verify the expectations for</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.LastMethodCall``1(System.Object)">
- <summary>
- Get the method options for the last call on
- mockedInstance.
- </summary>
- <param name="mockedInstance">The mock object</param>
- <returns>Method options for the last call</returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.GetMockObjectFromInvocationProxy(System.Object)">
- <summary>
- Maps an invocation proxy back to the mock object instance that was originally
- returned to client code which might have been a delegate to this proxy.
- </summary>
- <param name="invocationProxy">The mock object proxy from the intercepted invocation</param>
- <returns>The mock object</returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMockObject(System.Type,Rhino.Mocks.MockRepository.CreateMockState,System.Type[],System.Object[])">
- <summary>
- This is provided to allow advance extention functionality, where Rhino Mocks standard
- functionality is not enough.
- </summary>
- <param name="type">The type to mock</param>
- <param name="factory">Delegate that create the first state of the mocked object (usualy the record state).</param>
- <param name="extras">Additional types to be implemented, this can be only interfaces </param>
- <param name="argumentsForConstructor">optional arguments for the constructor</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.GetMockedObject(System.Object)">
- <summary>
- Method: GetMockedObject
- Get an IProxy from a mocked object instance, or throws if the
- object is not a mock object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.GetMockedObjectOrNull(System.Object)">
- <summary>
- Method: GetMockedObjectOrNull
- Get an IProxy from a mocked object instance, or null if the
- object is not a mock object.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PopRecorder">
- <summary>
- Pops the recorder.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PushRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
- <summary>
- Pushes the recorder.
- </summary>
- <param name="newRecorder">New recorder.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.BackToRecordAll">
- <summary>
- All the mock objects in this repository will be moved
- to record state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.BackToRecordAll(Rhino.Mocks.BackToRecordOptions)">
- <summary>
- All the mock objects in this repository will be moved
- to record state.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.ReplayAll">
- <summary>
- Replay all the mocks from this repository
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.VerifyAll">
- <summary>
- Verify all the mocks from this repository
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.GetProxyGenerator(System.Type)">
- <summary>
- Gets the proxy generator for a specific type. Having a single ProxyGenerator
- with multiple types linearly degrades the performance so this implementation
- keeps one ProxyGenerator per type.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.SetExceptionToBeThrownOnVerify(System.Object,Rhino.Mocks.Exceptions.ExpectationViolationException)">
- <summary>
- Set the exception to be thrown when verified is called.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMock``1(System.Object[])">
- <summary>
- Creates a mock for the spesified type.
- </summary>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMock``1(System.Object[])">
- <summary>
- Creates a strict mock for the spesified type.
- </summary>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMock``1(System.Object[])">
- <summary>
- Creates a dynamic mock for the specified type.
- </summary>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock``1(System.Type[])">
- <summary>
- Creates a mock object from several types.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock``1(System.Type[])">
- <summary>
- Creates a strict mock object from several types.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock``1(System.Type[])">
- <summary>
- Create a mock object from several types with dynamic semantics.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock``1(System.Type[])">
- <summary>
- Create a mock object from several types with partial semantics.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock``1(System.Type[],System.Object[])">
- <summary>
- Create a mock object from several types with strict semantics.
- </summary>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock``1(System.Type[],System.Object[])">
- <summary>
- Create a strict mock object from several types with strict semantics.
- </summary>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock``1(System.Type[],System.Object[])">
- <summary>
- Create a mock object from several types with dynamic semantics.
- </summary>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock``1(System.Type[],System.Object[])">
- <summary>
- Create a mock object from several types with partial semantics.
- </summary>
- <param name="extraTypes">Extra interface types to mock.</param>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.PartialMock``1(System.Object[])">
- <summary>
- Create a mock object with from a class that defaults to calling the class methods
- </summary>
- <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Stub``1(System.Object[])">
- <summary>
- Create a stub object, one that has properties and events ready for use, and
- can have methods called on it. It requires an explicit step in order to create
- an expectation for a stub.
- </summary>
- <param name="argumentsForConstructor">The arguments for constructor.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Stub(System.Type,System.Object[])">
- <summary>
- Create a stub object, one that has properties and events ready for use, and
- can have methods called on it. It requires an explicit step in order to create
- an expectation for a stub.
- </summary>
- <param name="type">The type.</param>
- <param name="argumentsForConstructor">The arguments for constructor.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.GenerateStub``1(System.Object[])">
- <summary>
- Generates a stub without mock repository
- </summary>
- <param name="argumentsForConstructor">The arguments for constructor.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.GenerateStub(System.Type,System.Object[])">
- <summary>
- Generates the stub without mock repository
- </summary>
- <param name="type">The type.</param>
- <param name="argumentsForConstructor">The arguments for constructor.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.IsInReplayMode(System.Object)">
- <summary>
- Returns true if the passed mock is currently in replay mode.
- </summary>
- <param name="mock">The mock to test.</param>
- <returns>True if the mock is in replay mode, false otherwise.</returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.GenerateMock``1(System.Object[])">
- <summary>
- Generate a mock object without needing the mock repository
- </summary>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.IsStub(System.Object)">
- <summary>
- Determines whether the specified proxy is a stub.
- </summary>
- <param name="proxy">The proxy.</param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.RegisterPropertyBehaviorOn(Rhino.Mocks.Interfaces.IMockedObject)">
- <summary>
- Register a call on a prperty behavior
- </summary>
- <param name="instance"></param>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Record">
- <summary>
- </summary>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.MockRepository.Playback">
- <summary>
- </summary>
- <returns></returns>
- </member>
- <member name="P:Rhino.Mocks.MockRepository.Recorder">
- <summary>
- Gets the recorder.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.MockRepository.Replayer">
- <summary>
- Gets the replayer for this repository.
- </summary>
- <value></value>
- </member>
- <member name="P:Rhino.Mocks.MockRepository.LastMockedObject">
- <summary>
- Gets the last proxy which had a method call.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.MockRepository.CreateMockState">
- <summary>
- Delegate: CreateMockState
- This is used internally to cleanly handle the creation of different
- RecordMockStates.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.RhinoMocks">
- <summary>
- Used for [assembly: InternalsVisibleTo(RhinoMocks.StrongName)]
- Used for [assembly: InternalsVisibleTo(RhinoMocks.NormalName)]
- </summary>
- </member>
- <member name="F:Rhino.Mocks.RhinoMocks.StrongName">
- <summary>
- Strong name for the Dynamic Proxy assemblies. Used for InternalsVisibleTo specification.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.RhinoMocks.NormalName">
- <summary>
- Normal name for dynamic proxy assemblies. Used for InternalsVisibleTo specification.
- </summary>
- </member>
- <member name="F:Rhino.Mocks.RhinoMocks.Logger">
- <summary>
- Logs all method calls for methods
- </summary>
- </member>
- <member name="T:Rhino.Mocks.RhinoMocksExtensions">
- <summary>
- A set of extension methods that adds Arrange Act Assert mode to Rhino Mocks
- </summary>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.Expect``1(``0,System.Action{``0})">
- <summary>
- Create an expectation on this mock for this action to occur
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.BackToRecord``1(``0)">
- <summary>
- Reset all expectations on this mock object
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.BackToRecord``1(``0,Rhino.Mocks.BackToRecordOptions)">
- <summary>
- Reset the selected expectation on this mock object
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="options">The options to reset the expectations on this mock.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.Replay``1(``0)">
- <summary>
- Cause the mock state to change to replay, any further call is compared to the
- ones that were called in the record state.
- </summary>
- <param name="mock">the mocked object to move to replay state</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetMockRepository``1(``0)">
- <summary>
- Gets the mock repository for this specificied mock object
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.Expect``2(``0,Rhino.Mocks.Function{``0,``1})">
- <summary>
- Create an expectation on this mock for this action to occur
- </summary>
- <typeparam name="T"></typeparam>
- <typeparam name="R"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.Stub``1(``0,System.Action{``0})">
- <summary>
- Tell the mock object to perform a certain action when a matching
- method is called.
- Does not create an expectation for this method.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.Stub``2(``0,Rhino.Mocks.Function{``0,``1})">
- <summary>
- Tell the mock object to perform a certain action when a matching
- method is called.
- Does not create an expectation for this method.
- </summary>
- <typeparam name="T"></typeparam>
- <typeparam name="R"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetArgumentsForCallsMadeOn``1(``0,System.Action{``0})">
- <summary>
- Gets the arguments for calls made on this mock object and the method that was called
- in the action.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <returns></returns>
- <example>
- Here we will get all the arguments for all the calls made to DoSomething(int)
- <code>
- var argsForCalls = foo54.GetArgumentsForCallsMadeOn(x => x.DoSomething(0))
- </code>
- </example>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetArgumentsForCallsMadeOn``1(``0,System.Action{``0},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
- <summary>
- Gets the arguments for calls made on this mock object and the method that was called
- in the action and matches the given constraints
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <param name="setupConstraints">The setup constraints.</param>
- <returns></returns>
- <example>
- Here we will get all the arguments for all the calls made to DoSomething(int)
- <code>
- var argsForCalls = foo54.GetArgumentsForCallsMadeOn(x => x.DoSomething(0))
- </code>
- </example>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled``1(``0,System.Action{``0})">
- <summary>
- Asserts that a particular method was called on this mock object
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled``1(``0,System.Action{``0},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
- <summary>
- Asserts that a particular method was called on this mock object that match
- a particular constraint set.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <param name="setupConstraints">The setup constraints.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasNotCalled``1(``0,System.Action{``0})">
- <summary>
- Asserts that a particular method was NOT called on this mock object
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasNotCalled``1(``0,System.Action{``0},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
- <summary>
- Asserts that a particular method was NOT called on this mock object that match
- a particular constraint set.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="mock">The mock.</param>
- <param name="action">The action.</param>
- <param name="setupConstraints">The setup constraints.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.FindAppropriteType(Rhino.Mocks.Interfaces.IMockedObject)">
- <summary>
- Finds the approprite implementation type of this item.
- This is the class or an interface outside of the rhino mocks.
- </summary>
- <param name="mockedObj">The mocked obj.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.VerifyAllExpectations(System.Object)">
- <summary>
- Verifies all expectations on this mock object
- </summary>
- <param name="mockObject">The mock object.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetEventRaiser``1(``0,System.Action{``0})">
- <summary>
- Gets the event raiser for the event that was called in the action passed
- </summary>
- <typeparam name="TEventSource">The type of the event source.</typeparam>
- <param name="mockObject">The mock object.</param>
- <param name="eventSubscription">The event subscription.</param>
- <returns></returns>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.Raise``1(``0,System.Action{``0},System.Object,System.EventArgs)">
- <summary>
- Raise the specified event using the passed arguments.
- The even is extracted from the passed labmda
- </summary>
- <typeparam name="TEventSource">The type of the event source.</typeparam>
- <param name="mockObject">The mock object.</param>
- <param name="eventSubscription">The event subscription.</param>
- <param name="sender">The sender.</param>
- <param name="args">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
- </member>
- <member name="M:Rhino.Mocks.RhinoMocksExtensions.Raise``1(``0,System.Action{``0},System.Object[])">
- <summary>
- Raise the specified event using the passed arguments.
- The even is extracted from the passed labmda
- </summary>
- <typeparam name="TEventSource">The type of the event source.</typeparam>
- <param name="mockObject">The mock object.</param>
- <param name="eventSubscription">The event subscription.</param>
- <param name="args">The args.</param>
- </member>
- <member name="T:Rhino.Mocks.RhinoMocksExtensions.VoidType">
- <summary>
- Fake type that disallow creating it.
- Should have been System.Type, but we can't use it.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.SetupResult">
- <summary>
- Setup method calls to repeat any number of times.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.SetupResult.For``1(``0)">
- <summary>
- Get the method options and set the last method call to repeat
- any number of times.
- This also means that the method would transcend ordering
- </summary>
- </member>
- <member name="M:Rhino.Mocks.SetupResult.On(System.Object)">
- <summary>
- Get the method options for the last method call on the mockInstance and set it
- to repeat any number of times.
- This also means that the method would transcend ordering
- </summary>
- </member>
- <member name="T:Rhino.Mocks.With">
- <summary>
- Allows easier access to MockRepository, works closely with Mocker.Current to
- allow access to a context where the mock repository is automatially verified at
- the end of the code block.
- </summary>
- </member>
- <member name="M:Rhino.Mocks.With.Mocks(Rhino.Mocks.With.Proc)">
- <summary>
- Initialize a code block where Mocker.Current is initialized.
- At the end of the code block, all the expectation will be verified.
- This overload will create a new MockRepository.
- </summary>
- <param name="methodCallThatHasMocks">The code that will be executed under the mock context</param>
- </member>
- <member name="M:Rhino.Mocks.With.Mocks(Rhino.Mocks.MockRepository,Rhino.Mocks.With.Proc)">
- <summary>
- Initialize a code block where Mocker.Current is initialized.
- At the end of the code block, all the expectation will be verified.
- This overload will create a new MockRepository.
- </summary>
- <param name="mocks">The mock repository to use, at the end of the code block, VerifyAll() will be called on the repository.</param>
- <param name="methodCallThatHasMocks">The code that will be executed under the mock context</param>
- </member>
- <member name="M:Rhino.Mocks.With.Mocks(Rhino.Mocks.MockRepository)">
- <summary>
- Create a FluentMocker
- </summary>
- <param name="mocks">The mock repository to use.</param>
- </member>
- <member name="T:Rhino.Mocks.With.Proc">
- <summary>
- A method with no arguments and no return value that will be called under the mock context.
- </summary>
- </member>
- <member name="T:Rhino.Mocks.With.FluentMocker">
- <summary>
- FluentMocker implements some kind of fluent interface attempt
- for saying "With the Mocks [mocks], Expecting (in same order) [things] verify [that]."
- </summary>
- </member>
- <member name="T:Rhino.Mocks.With.IMockVerifier">
- <summary>
- Interface to verify previously defined expectations
- </summary>
- </member>
- <member name="M:Rhino.Mocks.With.IMockVerifier.Verify(Rhino.Mocks.With.Proc)">
- <summary>
- Verifies if a piece of code
- </summary>
- </member>
- <member name="M:Rhino.Mocks.With.FluentMocker.Expecting(Rhino.Mocks.With.Proc)">
- <summary>
- Defines unordered expectations
- </summary>
- <param name="methodCallsDescribingExpectations">A delegate describing the expectations</param>
- <returns>an IMockVerifier</returns>
- </member>
- <member name="M:Rhino.Mocks.With.FluentMocker.ExpectingInSameOrder(Rhino.Mocks.With.Proc)">
- <summary>
- Defines ordered expectations
- </summary>
- <param name="methodCallsDescribingExpectations">A delegate describing the expectations</param>
- <returns>an IMockVerifier</returns>
- </member>
- <member name="M:Rhino.Mocks.With.FluentMocker.Verify(Rhino.Mocks.With.Proc)">
- <summary>
- Verifies previously defined expectations
- </summary>
- </member>
- </members>
-</doc>
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>Rhino.Mocks</name>
+ </assembly>
+ <members>
+ <member name="T:Rhino.Mocks.Arg`1">
+ <summary>
+ Defines constraints and return values for arguments of a mock.
+ Only use Arg inside a method call on a mock that is recording.
+ Example:
+ ExpectCall(
+ mock.foo(
+ Arg<int>.Is.GreaterThan(2),
+ Arg<string>.Is.Anything
+ ));
+ Use Arg.Text for string specific constraints
+ Use Arg<ListClass>.List for list specific constraints
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:Rhino.Mocks.Arg`1.Matches(System.Linq.Expressions.Expression{System.Predicate{`0}})">
+ <summary>
+ Register the predicate as a constraint for the current call.
+ </summary>
+ <param name="predicate">The predicate.</param>
+ <returns>default(T)</returns>
+ <example>
+ Allow you to use code to create constraints
+ <code>
+ demo.AssertWasCalled(x => x.Bar(Arg{string}.Matches(a => a.StartsWith("b") && a.Contains("ba"))));
+ </code>
+ </example>
+ </member>
+ <member name="M:Rhino.Mocks.Arg`1.Matches(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Define a complex constraint for this argument by passing several constraints
+ combined with operators. (Use Is in simple cases.)
+ Example: Arg<string>.Matches(Is.Equal("Hello") || Text.EndsWith("u"));
+ </summary>
+ <param name="constraint">Constraints using Is, Text and List</param>
+ <returns>Dummy to satisfy the compiler</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Arg`1.Ref(Rhino.Mocks.Constraints.AbstractConstraint,`0)">
+ <summary>
+ Define a Ref argument.
+ </summary>
+ <param name="constraint">Constraints for this argument</param>
+ <param name="returnValue">value returned by the mock</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Arg`1.Out(`0)">
+ <summary>
+ Define a out parameter. Use it together with the keyword out and use the
+ Dummy field available by the return value.
+ Example: mock.foo( out Arg<string>.Out("hello").Dummy );
+ </summary>
+ <param name="returnValue"></param>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Arg`1.Is">
+ <summary>
+ Define a simple constraint for this argument. (Use Matches in simple cases.)
+ Example:
+ Arg<int>.Is.Anthing
+ Arg<string>.Is.Equal("hello")
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Arg`1.List">
+ <summary>
+ Define Constraints on list arguments.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Arg">
+ <summary>
+ Use the Arg class (without generic) to define Text constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Arg.Is``1(``0)">
+ <summary>
+ Evaluate an equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="arg">The object the parameter should equal to</param>
+ </member>
+ <member name="P:Rhino.Mocks.Arg.Text">
+ <summary>
+ Define constraints on text arguments.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.ArgManager">
+ <summary>
+ Used to manage the static state of the Arg<T> class"/>
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.ArgManager.Clear">
+ <summary>
+ Resets the static state
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.ArgManager.GetAllReturnValues">
+ <summary>
+ Returns return values for the out and ref parameters
+ Note: the array returned has the size of the number of out and ref
+ argument definitions
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.ArgManager.GetAllConstraints">
+ <summary>
+ Returns the constraints for all arguments.
+ Out arguments have an Is.Anything constraint and are also in the list.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="T:Rhino.Mocks.BackToRecordOptions">
+ <summary>
+ What should BackToRecord clear
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.BackToRecordOptions.None">
+ <summary>
+ Retain all expectations and behaviors and return to mock
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.BackToRecordOptions.Expectations">
+ <summary>
+ All expectations
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.BackToRecordOptions.EventSubscribers">
+ <summary>
+ Event subscribers for this instance
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.BackToRecordOptions.OriginalMethodsToCall">
+ <summary>
+ Methods that should be forwarded to the base class implementation
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.BackToRecordOptions.PropertyBehavior">
+ <summary>
+ Properties that should behave like properties
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.BackToRecordOptions.All">
+ <summary>
+ Remove all the behavior of the object
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.AbstractConstraint">
+ <summary>
+ Interface for constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_BitwiseAnd(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ And operator for constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_LogicalNot(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Not operator for constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_BitwiseOr(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Or operator for constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_False(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Allow overriding of || or &&
+ </summary>
+ <param name="c"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_True(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Allow overriding of || or &&
+ </summary>
+ <param name="c"></param>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.AbstractConstraint.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.PublicFieldIs">
+ <summary>
+ Constrain that the public field has a specified value
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.PublicFieldConstraint">
+ <summary>
+ Constrain that the public field matches another constraint.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.#ctor(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldConstraint"/> instance.
+ </summary>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="constraint">Constraint to place on the public field value.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.#ctor(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldConstraint"/> instance, specifying a disambiguating
+ <paramref name="declaringType"/> for the public field.
+ </summary>
+ <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="constraint">Constraint to place on the public field value.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.Eval(System.Object)">
+ <summary>
+ Determines if the object passes the constraint.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.PublicFieldConstraint.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicFieldIs.#ctor(System.String,System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldIs"/> instance.
+ </summary>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="expectedValue">Expected value.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicFieldIs.#ctor(System.Type,System.String,System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldIs"/> instance, specifying a disambiguating
+ <paramref name="declaringType"/> for the public field.
+ </summary>
+ <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="expectedValue">Expected value.</param>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.PropertyIs">
+ <summary>
+ Constrain that the property has a specified value
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.PropertyConstraint">
+ <summary>
+ Constrain that the property matches another constraint.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.#ctor(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyConstraint"/> instance.
+ </summary>
+ <param name="propertyName">Name of the property.</param>
+ <param name="constraint">Constraint to place on the property value.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.#ctor(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyConstraint"/> instance, specifying a disambiguating
+ <paramref name="declaringType"/> for the property.
+ </summary>
+ <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
+ <param name="propertyName">Name of the property.</param>
+ <param name="constraint">Constraint to place on the property value.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.Eval(System.Object)">
+ <summary>
+ Determines if the object passes the constraint.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.PropertyConstraint.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PropertyIs.#ctor(System.String,System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyIs"/> instance.
+ </summary>
+ <param name="propertyName">Name of the property.</param>
+ <param name="expectedValue">Expected value.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PropertyIs.#ctor(System.Type,System.String,System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyIs"/> instance, specifying a disambiguating
+ <paramref name="declaringType"/> for the property.
+ </summary>
+ <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
+ <param name="propertyName">Name of the property.</param>
+ <param name="expectedValue">Expected value.</param>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.TypeOf">
+ <summary>
+ Constrain that the parameter must be of the specified type
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TypeOf.#ctor(System.Type)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.TypeOf"/> instance.
+ </summary>
+ <param name="type">Type.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TypeOf.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.TypeOf.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Same">
+ <summary>
+ Constraint that determines whether an object is the same object as another.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Same.#ctor(System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.Equal"/> instance.
+ </summary>
+ <param name="obj">Obj.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Same.Eval(System.Object)">
+ <summary>
+ Determines if the object passes the constraints.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.Same.Message">
+ <summary>
+ Gets the message for this constraint.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.PredicateConstraint`1">
+ <summary>
+ Evaluate a parameter using constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PredicateConstraint`1.#ctor(System.Predicate{`0})">
+ <summary>
+ Create new instance
+ </summary>
+ <param name="predicate"></param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PredicateConstraint`1.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.PredicateConstraint`1.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.LambdaConstraint">
+ <summary>
+ A constraint based on lambda expression, we are using Expression{T}
+ because we want to be able to get good error reporting on that.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.LambdaConstraint.#ctor(System.Linq.Expressions.LambdaExpression)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.Constraints.LambdaConstraint"/> class.
+ </summary>
+ <param name="expr">The expr.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.LambdaConstraint.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ <param name="obj"></param>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.LambdaConstraint.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.CollectionEqual">
+ <summary>
+ Constrain that the list contains the same items as the parameter list
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.CollectionEqual.#ctor(System.Collections.IEnumerable)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.CollectionEqual"/> instance.
+ </summary>
+ <param name="collection">In list.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.CollectionEqual.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.CollectionEqual.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.OneOf">
+ <summary>
+ Constrain that the parameter is one of the items in the list
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.OneOf.#ctor(System.Collections.IEnumerable)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.OneOf"/> instance.
+ </summary>
+ <param name="collection">In list.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.OneOf.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.OneOf.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.IsIn">
+ <summary>
+ Constrain that the object is inside the parameter list
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsIn.#ctor(System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.IsIn"/> instance.
+ </summary>
+ <param name="inList">In list.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsIn.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.IsIn.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.CollectionCount">
+ <summary>
+ Applies another AbstractConstraint to the collection count.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.CollectionCount.#ctor(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.CollectionCount"/> instance.
+ </summary>
+ <param name="constraint">The constraint that should be applied to the collection count.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.CollectionCount.Eval(System.Object)">
+ <summary>
+ Determines if the parameter conforms to this constraint.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.CollectionCount.Message">
+ <summary>
+ Gets the message for this constraint.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.ListElement">
+ <summary>
+ Applies another AbstractConstraint to a specific list element.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListElement.#ctor(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.ListElement"/> instance.
+ </summary>
+ <param name="index">The zero-based index of the list element.</param>
+ <param name="constraint">The constraint that should be applied to the list element.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListElement.Eval(System.Object)">
+ <summary>
+ Determines if the parameter conforms to this constraint.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.ListElement.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.KeyedListElement`1">
+ <summary>
+ Applies another AbstractConstraint to a specific generic keyed list element.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.KeyedListElement`1.#ctor(`0,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:KeyedListElement"/> instance.
+ </summary>
+ <param name="key">The key of the list element.</param>
+ <param name="constraint">The constraint that should be applied to the list element.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.KeyedListElement`1.Eval(System.Object)">
+ <summary>
+ Determines if the parameter conforms to this constraint.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.KeyedListElement`1.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.ContainsAll">
+ <summary>
+ Constrains that all elements are in the parameter list
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ContainsAll.#ctor(System.Collections.IEnumerable)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.Constraints.ContainsAll"/> class.
+ </summary>
+ <param name="these">The these.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ContainsAll.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ <param name="obj"></param>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.ContainsAll.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Or">
+ <summary>
+ Combines two constraints, constraint pass if either is fine.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Or.#ctor(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance.
+ </summary>
+ <param name="c1">C1.</param>
+ <param name="c2">C2.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Or.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.Or.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Not">
+ <summary>
+ Negate a constraint
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Not.#ctor(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance.
+ </summary>
+ <param name="c1">C1.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Not.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.Not.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.And">
+ <summary>
+ Combines two constraints
+ </summary>
+ <remarks></remarks>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.And.#ctor(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance.
+ </summary>
+ <param name="c1">C1.</param>
+ <param name="c2">C2.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.And.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.And.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Like">
+ <summary>
+ Constrain the argument to validate according to regex pattern
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Like.#ctor(System.String)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.Like"/> instance.
+ </summary>
+ <param name="pattern">Pattern.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Like.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.Like.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Contains">
+ <summary>
+ Constraint that evaluate whatever an argument contains the specified string.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Contains.#ctor(System.String)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.Contains"/> instance.
+ </summary>
+ <param name="innerString">Inner string.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Contains.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.Contains.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.EndsWith">
+ <summary>
+ Constraint that evaluate whatever an argument ends with the specified string
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.EndsWith.#ctor(System.String)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.EndsWith"/> instance.
+ </summary>
+ <param name="end">End.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.EndsWith.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.EndsWith.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.StartsWith">
+ <summary>
+ Constraint that evaluate whatever an argument start with the specified string
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.StartsWith.#ctor(System.String)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.StartsWith"/> instance.
+ </summary>
+ <param name="start">Start.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.StartsWith.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.StartsWith.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Equal">
+ <summary>
+ Constraint that evaluate whatever an object equals another
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Equal.#ctor(System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.Equal"/> instance.
+ </summary>
+ <param name="obj">Obj.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Equal.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.Equal.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Anything">
+ <summary>
+ Constraint that always returns true
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Anything.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.Anything.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.ComparingConstraint">
+ <summary>
+ Constraint that evaluate whatever a comparable is greater than another
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ComparingConstraint.#ctor(System.IComparable,System.Boolean,System.Boolean)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Constraints.ComparingConstraint"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ComparingConstraint.Eval(System.Object)">
+ <summary>
+ Determines if the object pass the constraints
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.ComparingConstraint.Message">
+ <summary>
+ Gets the message for this constraint
+ </summary>
+ <value></value>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.#ctor(System.Object)">
+ <summary>
+ Initializes a new constraint object.
+ </summary>
+ <param name="expected">The expected object, The actual object is passed in as a parameter to the <see cref="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Eval(System.Object)"/> method</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Eval(System.Object)">
+ <summary>
+ Evaluate this constraint.
+ </summary>
+ <param name="obj">The actual object that was passed in the method call to the mock.</param>
+ <returns>True when the constraint is met, else false.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckReferenceType(System.Object,System.Object)">
+ <summary>
+ Checks if the properties of the <paramref name="actual"/> object
+ are the same as the properies of the <paramref name="expected"/> object.
+ </summary>
+ <param name="expected">The expected object</param>
+ <param name="actual">The actual object</param>
+ <returns>True when both objects have the same values, else False.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckValue(System.Object,System.Object)">
+ <summary>
+
+ </summary>
+ <param name="expected"></param>
+ <param name="actual"></param>
+ <returns></returns>
+ <remarks>This is the real heart of the beast.</remarks>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckProperties(System.Object,System.Object)">
+ <summary>
+ Used by CheckReferenceType to check all properties of the reference type.
+ </summary>
+ <param name="expected">The expected object</param>
+ <param name="actual">The actual object</param>
+ <returns>True when both objects have the same values, else False.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckFields(System.Object,System.Object)">
+ <summary>
+ Used by CheckReferenceType to check all fields of the reference type.
+ </summary>
+ <param name="expected">The expected object</param>
+ <param name="actual">The actual object</param>
+ <returns>True when both objects have the same values, else False.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckCollection(System.Collections.IEnumerable,System.Collections.IEnumerable)">
+ <summary>
+ Checks the items of both collections
+ </summary>
+ <param name="expectedCollection">The expected collection</param>
+ <param name="actualCollection"></param>
+ <returns>True if both collections contain the same items in the same order.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.BuildPropertyName">
+ <summary>
+ Builds a propertyname from the Stack _properties like 'Order.Product.Price'
+ to be used in the error message.
+ </summary>
+ <returns>A nested property name.</returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Message">
+ <summary>
+ Rhino.Mocks uses this property to generate an error message.
+ </summary>
+ <value>
+ A message telling the tester why the constraint failed.
+ </value>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.IsArg`1">
+ <summary>
+ Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Is"/> to be used in context
+ with the <see cref="T:Rhino.Mocks.Arg`1"/> syntax.
+ </summary>
+ <typeparam name="T">The type of the argument</typeparam>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.GreaterThan(System.IComparable)">
+ <summary>
+ Evaluate a greater than constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be greater than</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.LessThan(System.IComparable)">
+ <summary>
+ Evaluate a less than constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be less than</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.LessThanOrEqual(System.IComparable)">
+ <summary>
+ Evaluate a less than or equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be less than or equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.GreaterThanOrEqual(System.IComparable)">
+ <summary>
+ Evaluate a greater than or equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be greater than or equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.Equal(System.Object)">
+ <summary>
+ Evaluate an equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="obj">The object the parameter should equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.NotEqual(System.Object)">
+ <summary>
+ Evaluate a not equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="obj">The object the parameter should not equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.Same(System.Object)">
+ <summary>
+ Evaluate a same as constraint.
+ </summary>
+ <param name="obj">The object the parameter should the same as.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.NotSame(System.Object)">
+ <summary>
+ Evaluate a not same as constraint.
+ </summary>
+ <param name="obj">The object the parameter should not be the same as.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.Equals(System.Object)">
+ <summary>
+ Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead.
+ </summary>
+ <param name="obj"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.IsArg`1.GetHashCode">
+ <summary>
+ Serves as a hash function for a particular type.
+ </summary>
+ <returns>
+ A hash code for the current <see cref="T:System.Object"/>.
+ </returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.IsArg`1.Anything">
+ <summary>
+ A constraints that accept anything
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.IsArg`1.Null">
+ <summary>
+ A constraint that accept only nulls
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.IsArg`1.NotNull">
+ <summary>
+ A constraint that accept only non null values
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Constraints.IsArg`1.TypeOf">
+ <summary>
+ A constraint that accept only value of the specified type.
+ The check is performed on the type that has been defined
+ as the argument type.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.ListArg`1">
+ <summary>
+ Provides access to the constraints defined in the class <see cref="T:Rhino.Mocks.Constraints.Text"/> to be used in context
+ with the <see cref="T:Rhino.Mocks.Arg`1"/> syntax.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.IsIn(System.Object)">
+ <summary>
+ Determines whether the specified object is in the parameter.
+ The parameter must be IEnumerable.
+ </summary>
+ <param name="obj">Obj.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.OneOf(System.Collections.IEnumerable)">
+ <summary>
+ Determines whatever the parameter is in the collection.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.Equal(System.Collections.IEnumerable)">
+ <summary>
+ Determines that the parameter collection is identical to the specified collection
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.Count(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Determines that the parameter collection has the specified number of elements.
+ </summary>
+ <param name="constraint">The constraint that should be applied to the collection count.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.Element(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Determines that an element of the parameter collections conforms to another AbstractConstraint.
+ </summary>
+ <param name="index">The zero-based index of the list element.</param>
+ <param name="constraint">The constraint which should be applied to the list element.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.ContainsAll(System.Collections.IEnumerable)">
+ <summary>
+ Determines that all elements of the specified collection are in the the parameter collection
+ </summary>
+ <param name="collection">The collection to compare against</param>
+ <returns>The constraint which should be applied to the list parameter.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.Equals(System.Object)">
+ <summary>
+ Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead.
+ </summary>
+ <param name="obj"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.ListArg`1.GetHashCode">
+ <summary>
+ Serves as a hash function for a particular type.
+ </summary>
+ <returns>
+ A hash code for the current <see cref="T:System.Object"/>.
+ </returns>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.OutRefArgDummy`1">
+ <summary>
+ Provides a dummy field to pass as out or ref argument.
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="F:Rhino.Mocks.Constraints.OutRefArgDummy`1.Dummy">
+ <summary>
+ Dummy field to satisfy the compiler. Used for out and ref arguments.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.PublicField">
+ <summary>
+ Central location for constraints for object's public fields
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.Value(System.String,System.Object)">
+ <summary>
+ Constrains the parameter to have a public field with the specified value
+ </summary>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="expectedValue">Expected value.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.Value(System.Type,System.String,System.Object)">
+ <summary>
+ Constrains the parameter to have a public field with the specified value.
+ </summary>
+ <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="expectedValue">Expected value.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.ValueConstraint(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Constrains the parameter to have a public field satisfying a specified constraint.
+ </summary>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="publicFieldConstraint">Constraint for the public field.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.ValueConstraint(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Constrains the parameter to have a public field satisfying a specified constraint.
+ </summary>
+ <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
+ <param name="publicFieldName">Name of the public field.</param>
+ <param name="publicFieldConstraint">Constraint for the public field.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.IsNull(System.String)">
+ <summary>
+ Determines whether the parameter has the specified public field and that it is null.
+ </summary>
+ <param name="publicFieldName">Name of the public field.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.IsNull(System.Type,System.String)">
+ <summary>
+ Determines whether the parameter has the specified public field and that it is null.
+ </summary>
+ <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
+ <param name="publicFieldName">Name of the public field.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.IsNotNull(System.String)">
+ <summary>
+ Determines whether the parameter has the specified public field and that it is not null.
+ </summary>
+ <param name="publicFieldName">Name of the public field.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.PublicField.IsNotNull(System.Type,System.String)">
+ <summary>
+ Determines whether the parameter has the specified public field and that it is not null.
+ </summary>
+ <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param>
+ <param name="publicFieldName">Name of the public field.</param>
+ <returns></returns>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Is">
+ <summary>
+ Central location for constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.GreaterThan(System.IComparable)">
+ <summary>
+ Evaluate a greater than constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be greater than</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.LessThan(System.IComparable)">
+ <summary>
+ Evaluate a less than constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be less than</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.LessThanOrEqual(System.IComparable)">
+ <summary>
+ Evaluate a less than or equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be less than or equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.GreaterThanOrEqual(System.IComparable)">
+ <summary>
+ Evaluate a greater than or equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="objToCompare">The object the parameter should be greater than or equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.Equal(System.Object)">
+ <summary>
+ Evaluate an equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="obj">The object the parameter should equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.NotEqual(System.Object)">
+ <summary>
+ Evaluate a not equal constraint for <see cref="T:System.IComparable"/>.
+ </summary>
+ <param name="obj">The object the parameter should not equal to</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.Same(System.Object)">
+ <summary>
+ Evaluate a same as constraint.
+ </summary>
+ <param name="obj">The object the parameter should the same as.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.NotSame(System.Object)">
+ <summary>
+ Evaluate a not same as constraint.
+ </summary>
+ <param name="obj">The object the parameter should not be the same as.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.Anything">
+ <summary>
+ A constraints that accept anything
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.Null">
+ <summary>
+ A constraint that accept only nulls
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.NotNull">
+ <summary>
+ A constraint that accept only non null values
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.TypeOf(System.Type)">
+ <summary>
+ A constraint that accept only value of the specified type
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.TypeOf``1">
+ <summary>
+ A constraint that accept only value of the specified type
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Is.Matching``1(System.Predicate{``0})">
+ <summary>
+ Evaluate a parameter using a predicate
+ </summary>
+ <param name="predicate">The predicate to use</param>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.List">
+ <summary>
+ Central location for constraints about lists and collections
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.List.IsIn(System.Object)">
+ <summary>
+ Determines whether the specified obj is in the parameter.
+ The parameter must be IEnumerable.
+ </summary>
+ <param name="obj">Obj.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.List.OneOf(System.Collections.IEnumerable)">
+ <summary>
+ Determines whatever the parameter is in the collection.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.List.Equal(System.Collections.IEnumerable)">
+ <summary>
+ Determines that the parameter collection is identical to the specified collection
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.List.Count(Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Determines that the parameter collection has the specified number of elements.
+ </summary>
+ <param name="constraint">The constraint that should be applied to the collection count.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.List.Element(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Determines that an element of the parameter collections conforms to another AbstractConstraint.
+ </summary>
+ <param name="index">The zero-based index of the list element.</param>
+ <param name="constraint">The constraint which should be applied to the list element.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.List.Element``1(``0,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Determines that an element of the parameter collections conforms to another AbstractConstraint.
+ </summary>
+ <param name="key">The key of the element.</param>
+ <param name="constraint">The constraint which should be applied to the element.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.List.ContainsAll(System.Collections.IEnumerable)">
+ <summary>
+ Determines that all elements of the specified collection are in the the parameter collection
+ </summary>
+ <param name="collection">The collection to compare against</param>
+ <returns>The constraint which should be applied to the list parameter.</returns>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Property">
+ <summary>
+ Central location for constraints for object's properties
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.Value(System.String,System.Object)">
+ <summary>
+ Constrains the parameter to have property with the specified value
+ </summary>
+ <param name="propertyName">Name of the property.</param>
+ <param name="expectedValue">Expected value.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.Value(System.Type,System.String,System.Object)">
+ <summary>
+ Constrains the parameter to have property with the specified value.
+ </summary>
+ <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
+ <param name="propertyName">Name of the property.</param>
+ <param name="expectedValue">Expected value.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.ValueConstraint(System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Constrains the parameter to have a property satisfying a specified constraint.
+ </summary>
+ <param name="propertyName">Name of the property.</param>
+ <param name="propertyConstraint">Constraint for the property.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.ValueConstraint(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)">
+ <summary>
+ Constrains the parameter to have a property satisfying a specified constraint.
+ </summary>
+ <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
+ <param name="propertyName">Name of the property.</param>
+ <param name="propertyConstraint">Constraint for the property.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.IsNull(System.String)">
+ <summary>
+ Determines whether the parameter has the specified property and that it is null.
+ </summary>
+ <param name="propertyName">Name of the property.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.IsNull(System.Type,System.String)">
+ <summary>
+ Determines whether the parameter has the specified property and that it is null.
+ </summary>
+ <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
+ <param name="propertyName">Name of the property.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.IsNotNull(System.String)">
+ <summary>
+ Determines whether the parameter has the specified property and that it is not null.
+ </summary>
+ <param name="propertyName">Name of the property.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.IsNotNull(System.Type,System.String)">
+ <summary>
+ Determines whether the parameter has the specified property and that it is not null.
+ </summary>
+ <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param>
+ <param name="propertyName">Name of the property.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Property.AllPropertiesMatch(System.Object)">
+ <summary>
+ constraints the parameter to have the exact same property values as the expected object.
+ </summary>
+ <param name="expected">An object, of the same type as the parameter, whose properties are set with the expected values.</param>
+ <returns>An instance of the constraint that will do the actual check.</returns>
+ <remarks>
+ The parameter's public property values and public field values will be matched against the expected object's
+ public property values and public field values. The first mismatch will be reported and no further matching is done.
+ The matching is recursive for any property or field that has properties or fields of it's own.
+ Collections are supported through IEnumerable, which means the constraint will check if the actual and expected
+ collection contain the same values in the same order, where the values contained by the collection can have properties
+ and fields of their own that will be checked as well because of the recursive nature of this constraint.
+ </remarks>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.Text">
+ <summary>
+ Central location for all text related constraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Text.StartsWith(System.String)">
+ <summary>
+ Constrain the argument to starts with the specified string
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Text.EndsWith(System.String)">
+ <summary>
+ Constrain the argument to end with the specified string
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Text.Contains(System.String)">
+ <summary>
+ Constrain the argument to contain the specified string
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.Text.Like(System.String)">
+ <summary>
+ Constrain the argument to validate according to regex pattern
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Constraints.TextArg">
+ <summary>
+ Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Text"/> to be used in context
+ with the <see cref="T:Rhino.Mocks.Arg"/> syntax.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TextArg.StartsWith(System.String)">
+ <summary>
+ Constrain the argument to starts with the specified string
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TextArg.EndsWith(System.String)">
+ <summary>
+ Constrain the argument to end with the specified string
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TextArg.Contains(System.String)">
+ <summary>
+ Constrain the argument to contain the specified string
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TextArg.Like(System.String)">
+ <summary>
+ Constrain the argument to validate according to regex pattern
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TextArg.Equals(System.Object)">
+ <summary>
+ Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead.
+ </summary>
+ <param name="obj"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Constraints.TextArg.GetHashCode">
+ <summary>
+ Serves as a hash function for a particular type.
+ </summary>
+ <returns>
+ A hash code for the current <see cref="T:System.Object"/>.
+ </returns>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates">
+ <summary>
+ This class defines a lot of method signatures, which we will use
+ to allow compatability on net-2.0
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`1">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`2">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`2">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`3">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`3">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`4">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`4">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`5">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`5">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`6">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`6">
+ <summary>
+ dummy
+ </summary>
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`7">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`7">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`8">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`8">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`9">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`9">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`10">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Action`10">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Delegates.Function`11">
+ <summary>
+ dummy
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.DoNotExpect">
+ <summary>
+ Allows expectations to be set on methods that should never be called.
+ For methods with void return value, you need to use LastCall or
+ DoNotExpect.Call() with a delegate.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.DoNotExpect.Call(System.Object)">
+ <summary>
+ Sets LastCall.Repeat.Never() on /any/ proxy on /any/ repository on the current thread.
+ This method if not safe for multi threading scenarios.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.DoNotExpect.Call(Rhino.Mocks.Expect.Action)">
+ <summary>
+ Accepts a delegate that will execute inside the method which
+ LastCall.Repeat.Never() will be applied to.
+ It is expected to be used with anonymous delegates / lambda expressions and only one
+ method should be called.
+ </summary>
+ <example>
+ IService mockSrv = mocks.CreateMock(typeof(IService)) as IService;
+ DoNotExpect.Call(delegate{ mockSrv.Stop(); });
+ ...
+ </example>
+ </member>
+ <member name="T:Rhino.Mocks.Exceptions.ExpectationViolationException">
+ <summary>
+ An expectaton violation was detected.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Exceptions.ExpectationViolationException.#ctor(System.String)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Exceptions.ExpectationViolationException"/> instance.
+ </summary>
+ <param name="message">Message.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Exceptions.ExpectationViolationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+ <summary>
+ Serialization constructor
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException">
+ <summary>
+ Signals that an object was call on a mock repository which doesn't
+ belong to this mock repository or not a mock
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException.#ctor(System.String)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException"/> instance.
+ </summary>
+ <param name="message">Message.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Exceptions.ObjectNotMockFromThisRepositoryException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+ <summary>
+ Serialization constructor
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Expect">
+ <summary>
+ Allows to set expectation on methods that has return values.
+ For methods with void return value, you need to use LastCall
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expect.Call``1(``0)">
+ <summary>
+ The method options for the last call on /any/ proxy on /any/ repository on the current thread.
+ This method if not safe for multi threading scenarios, use <see cref="M:Rhino.Mocks.Expect.On(System.Object)"/>.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expect.Call(Rhino.Mocks.Expect.Action)">
+ <summary>
+ Accepts a delegate that will execute inside the method, and then return the resulting
+ <see cref="T:Rhino.Mocks.Interfaces.IMethodOptions`1"/> instance.
+ It is expected to be used with anonymous delegates / lambda expressions and only one
+ method should be called.
+ </summary>
+ <example>
+ IService mockSrv = mocks.CreateMock(typeof(IService)) as IService;
+ Expect.Call(delegate{ mockSrv.Start(); }).Throw(new NetworkException());
+ ...
+ </example>
+ </member>
+ <member name="M:Rhino.Mocks.Expect.On(System.Object)">
+ <summary>
+ Get the method options for the last method call on the mockInstance.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Expect.Action">
+ <summary>
+ A delegate that can be used to get better syntax on Expect.Call(delegate { foo.DoSomething(); });
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Expectations.AbstractExpectation">
+ <summary>
+ Abstract class that holds common information for
+ expectations.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IExpectation">
+ <summary>
+ Interface to validate that a method call is correct.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IExpectation.IsExpected(System.Object[])">
+ <summary>
+ Validate the arguments for the method.
+ This method can be called numerous times, so be careful about side effects
+ </summary>
+ <param name="args">The arguments with which the method was called</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IExpectation.AddActualCall">
+ <summary>
+ Add an actual method call to this expectation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IExpectation.ReturnOrThrow(Castle.Core.Interceptor.IInvocation,System.Object[])">
+ <summary>
+ Returns the return value or throw the exception and setup any output / ref parameters
+ that has been set.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IExpectation.BuildVerificationFailureMessage">
+ <summary>
+ Builds the verification failure message.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.ErrorMessage">
+ <summary>
+ Gets the error message.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.Expected">
+ <summary>
+ Range of expected calls
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.ActualCallsCount">
+ <summary>
+ Number of call actually made for this method
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.CanAcceptCalls">
+ <summary>
+ If this expectation is still waiting for calls.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.ReturnValue">
+ <summary>
+ The return value for a method matching this expectation
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.ExceptionToThrow">
+ <summary>
+ Gets or sets the exception to throw on a method matching this expectation.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.ActionsSatisfied">
+ <summary>
+ Gets a value indicating whether this instance's action is staisfied.
+ A staisfied instance means that there are no more requirements from
+ this method. A method with non void return value must register either
+ a return value or an exception to throw.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.Method">
+ <summary>
+ Gets the method this expectation is for.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.RepeatableOption">
+ <summary>
+ Gets or sets what special condtions there are for this method
+ repeating.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.ExpectationSatisfied">
+ <summary>
+ Gets a value indicating whether this expectation was satisfied
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.HasReturnValue">
+ <summary>
+ Specify whatever this expectation has a return value set
+ You can't check ReturnValue for this because a valid return value include null.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.ActionToExecute">
+ <summary>
+ An action to execute when the method is matched.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.OutRefParams">
+ <summary>
+ Set the out / ref parameters for the method call.
+ The indexing is zero based and ignores any non out/ref parameter.
+ It is possible not to pass all the parameters. This method can be called only once.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.Message">
+ <summary>
+ Documentation Message
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.Originalinvocation">
+ <summary>
+ Gets the invocation for this expectation
+ </summary>
+ <value>The invocation.</value>
+ </member>
+ <member name="E:Rhino.Mocks.Interfaces.IExpectation.WhenCalled">
+ <summary>
+ Occurs when the exceptation is match on a method call
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IExpectation.AllowTentativeReturn">
+ <summary>
+ Allow to set the return value in the future, if it was already set.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.actualCallsCount">
+ <summary>
+ Number of actuall calls made that passed this expectation
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.expected">
+ <summary>
+ Range of expected calls that should pass this expectation.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.returnValue">
+ <summary>
+ The return value for a method matching this expectation
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.exceptionToThrow">
+ <summary>
+ The exception to throw on a method matching this expectation.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.method">
+ <summary>
+ The method this expectation is for.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.returnValueSet">
+ <summary>
+ The return value for this method was set
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.repeatableOption">
+ <summary>
+ Whether this method will repeat
+ unlimited number of times.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.actionToExecute">
+ <summary>
+ A delegate that will be run when the
+ expectation is matched.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.matchingArgs">
+ <summary>
+ The arguments that matched this expectation.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.message">
+ <summary>
+ Documentation message
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Expectations.AbstractExpectation.originalInvocation">
+ <summary>
+ The method originalInvocation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.GetHashCode">
+ <summary>
+ Get the hash code
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.AddActualCall">
+ <summary>
+ Add an actual actualMethodCall call to this expectation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.BuildVerificationFailureMessage">
+ <summary>
+ Builds the verification failure message.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.ReturnOrThrow(Castle.Core.Interceptor.IInvocation,System.Object[])">
+ <summary>
+ Returns the return value or throw the exception and setup output / ref parameters
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.IsExpected(System.Object[])">
+ <summary>
+ Validate the arguments for the method on the child methods
+ </summary>
+ <param name="args">The arguments with which the method was called</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.#ctor(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Impl.Range)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.AbstractExpectation"/> instance.
+ </summary>
+ <param name="invocation">The originalInvocation for this method, required because it contains the generic type infromation</param>
+ <param name="expectedRange">Number of method calls for this expectations</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.AbstractExpectation"/> instance.
+ </summary>
+ <param name="expectation">Expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.DoIsExpected(System.Object[])">
+ <summary>
+ Validate the arguments for the method on the child methods
+ </summary>
+ <param name="args">The arguments with which the method was called</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.Equals(System.Object)">
+ <summary>
+ Determines if this object equal to obj
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.CreateErrorMessage(System.String)">
+ <summary>
+ The error message for these arguments
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AbstractExpectation.AssertDelegateArgumentsMatchMethod(System.Delegate)">
+ <summary>
+ Asserts that the delegate has the same parameters as the expectation's method call
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.OutRefParams">
+ <summary>
+ Setter for the outpur / ref parameters for this expecataion.
+ Can only be set once.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.HasReturnValue">
+ <summary>
+ Specify whether this expectation has a return value set
+ You can't check ReturnValue for this because a valid return value include null.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Method">
+ <summary>
+ Gets the method this expectation is for.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Originalinvocation">
+ <summary>
+ Gets the originalInvocation for this expectation
+ </summary>
+ <value>The originalInvocation.</value>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.RepeatableOption">
+ <summary>
+ Gets or sets what special condtions there are for this method
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Expected">
+ <summary>
+ Range of expected calls
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ActualCallsCount">
+ <summary>
+ Number of call actually made for this method
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.CanAcceptCalls">
+ <summary>
+ If this expectation is still waiting for calls.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ExpectationSatisfied">
+ <summary>
+ Gets a value indicating whether this expectation was satisfied
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ReturnValue">
+ <summary>
+ The return value for a method matching this expectation
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ActionToExecute">
+ <summary>
+ An action to execute when the method is matched.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ExceptionToThrow">
+ <summary>
+ Gets or sets the exception to throw on a method matching this expectation.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ActionsSatisfied">
+ <summary>
+ Gets a value indicating whether this instance's action is staisfied.
+ A staisfied instance means that there are no more requirements from
+ this method. A method with non void return value must register either
+ a return value or an exception to throw or an action to execute.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.Message">
+ <summary>
+ Documentation message
+ </summary>
+ </member>
+ <member name="E:Rhino.Mocks.Expectations.AbstractExpectation.WhenCalled">
+ <summary>
+ Occurs when the exceptation is match on a method call
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.AllowTentativeReturn">
+ <summary>
+ Allow to set the return value in the future, if it was already set.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AbstractExpectation.ErrorMessage">
+ <summary>
+ Gets the error message.
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Expectations.AnyArgsExpectation">
+ <summary>
+ Expectation that matches any arguments for the method.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.#ctor(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Impl.Range)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.AnyArgsExpectation"/> instance.
+ </summary>
+ <param name="invocation">Invocation for this expectation</param>
+ <param name="expectedRange">Number of method calls for this expectations</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.AnyArgsExpectation"/> instance.
+ </summary>
+ <param name="expectation">Expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.DoIsExpected(System.Object[])">
+ <summary>
+ Validate the arguments for the method.
+ </summary>
+ <param name="args">The arguments with which the method was called</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.Equals(System.Object)">
+ <summary>
+ Determines if the object equal to expectation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.AnyArgsExpectation.GetHashCode">
+ <summary>
+ Get the hash code
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.AnyArgsExpectation.ErrorMessage">
+ <summary>
+ Gets the error message.
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Expectations.ArgsEqualExpectation">
+ <summary>
+ Summary description for ArgsEqualExpectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.#ctor(Castle.Core.Interceptor.IInvocation,System.Object[],Rhino.Mocks.Impl.Range)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.ArgsEqualExpectation"/> instance.
+ </summary>
+ <param name="expectedArgs">Expected args.</param>
+ <param name="invocation">The invocation for this expectation</param>
+ <param name="expectedRange">Number of method calls for this expectations</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.DoIsExpected(System.Object[])">
+ <summary>
+ Validate the arguments for the method.
+ </summary>
+ <param name="args">The arguments with which the method was called</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.Equals(System.Object)">
+ <summary>
+ Determines if the object equal to expectation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ArgsEqualExpectation.GetHashCode">
+ <summary>
+ Get the hash code
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.ArgsEqualExpectation.ErrorMessage">
+ <summary>
+ Gets the error message.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.ArgsEqualExpectation.ExpectedArgs">
+ <summary>
+ Get the expected args.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Expectations.CallbackExpectation">
+ <summary>
+ Call a specified callback to verify the expectation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation,System.Delegate)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.CallbackExpectation"/> instance.
+ </summary>
+ <param name="expectation">Expectation.</param>
+ <param name="callback">Callback.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.#ctor(Castle.Core.Interceptor.IInvocation,System.Delegate,Rhino.Mocks.Impl.Range)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.CallbackExpectation"/> instance.
+ </summary>
+ <param name="invocation">Invocation for this expectation</param>
+ <param name="callback">Callback.</param>
+ <param name="expectedRange">Number of method calls for this expectations</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.DoIsExpected(System.Object[])">
+ <summary>
+ Validate the arguments for the method on the child methods
+ </summary>
+ <param name="args">The arguments with which the method was called</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.Equals(System.Object)">
+ <summary>
+ Determines if the object equal to expectation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.CallbackExpectation.GetHashCode">
+ <summary>
+ Get the hash code
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.CallbackExpectation.ErrorMessage">
+ <summary>
+ Gets the error message.
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Expectations.ConstraintsExpectation">
+ <summary>
+ Expect the method's arguments to match the contraints
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.#ctor(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Constraints.AbstractConstraint[],Rhino.Mocks.Impl.Range)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.ConstraintsExpectation"/> instance.
+ </summary>
+ <param name="invocation">Invocation for this expectation</param>
+ <param name="constraints">Constraints.</param>
+ <param name="expectedRange">Number of method calls for this expectations</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.#ctor(Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Constraints.AbstractConstraint[])">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Expectations.ConstraintsExpectation"/> instance.
+ </summary>
+ <param name="expectation">Expectation.</param>
+ <param name="constraints">Constraints.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.DoIsExpected(System.Object[])">
+ <summary>
+ Validate the arguments for the method.
+ </summary>
+ <param name="args">The arguments with which the method was called</param>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.Equals(System.Object)">
+ <summary>
+ Determines if the object equal to expectation
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Expectations.ConstraintsExpectation.GetHashCode">
+ <summary>
+ Get the hash code
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Expectations.ConstraintsExpectation.ErrorMessage">
+ <summary>
+ Gets the error message.
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.NullLogger">
+ <summary>
+ Doesn't log anything, just makes happy noises
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IExpectationLogger">
+ <summary>
+ Log expectations - allows to see what is going on inside Rhino Mocks
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IExpectationLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as is was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IExpectationLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as it was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IExpectationLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
+ <summary>
+ Logs the unexpected method call.
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="message">The message.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.NullLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as is was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.NullLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as it was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.NullLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
+ <summary>
+ Logs the unexpected method call.
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="message">The message.</param>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RemotingMock.IRemotingProxyOperation">
+ <summary>
+ Operation on a remoting proxy
+ </summary>
+ <remarks>
+ It is not possible to directly communicate to a real proxy via transparent proxy.
+ Transparent proxy impersonates a user type and only methods of that user type are callable.
+ The only methods that are guaranteed to exist on any transparent proxy are methods defined
+ in Object: namely ToString(), GetHashCode(), and Equals()).
+
+ These three methods are the only way to tell the real proxy to do something.
+ Equals() is the most suitable of all, since it accepts an arbitrary object parameter.
+ The RemotingProxy code is built so that if it is compared to an IRemotingProxyOperation,
+ transparentProxy.Equals(operation) will call operation.Process(realProxy).
+ This way we can retrieve a real proxy from transparent proxy and perform
+ arbitrary operation on it.
+ </remarks>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator">
+ <summary>
+ Generates remoting proxies and provides utility functions
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator.CreateRemotingMock(System.Type,Castle.Core.Interceptor.IInterceptor,Rhino.Mocks.Interfaces.IMockedObject)">
+ <summary>
+ Create the proxy using remoting
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator.IsRemotingProxy(System.Object)">
+ <summary>
+ Check whether an object is a transparent proxy with a RemotingProxy behind it
+ </summary>
+ <param name="obj">Object to check</param>
+ <returns>true if the object is a transparent proxy with a RemotingProxy instance behind it, false otherwise</returns>
+ <remarks>We use Equals() method to communicate with the real proxy behind the object.
+ See IRemotingProxyOperation for more details</remarks>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RemotingMock.RemotingMockGenerator.GetMockedObjectFromProxy(System.Object)">
+ <summary>
+ Retrieve a mocked object from a transparent proxy
+ </summary>
+ <param name="proxy">Transparent proxy with a RemotingProxy instance behind it</param>
+ <returns>Mocked object associated with the proxy</returns>
+ <remarks>We use Equals() method to communicate with the real proxy behind the object.
+ See IRemotingProxyOperation for more details</remarks>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RemotingMock.RemotingInvocation">
+ <summary>
+ Implementation of IInvocation based on remoting proxy
+ </summary>
+ <remarks>Some methods are marked NotSupported since they either don't make sense
+ for remoting proxies, or they are never called by Rhino Mocks</remarks>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.TextWriterExpectationLogger">
+ <summary>
+ Rudimetry implementation that simply logs methods calls as text.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.#ctor(System.IO.TextWriter)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.TextWriterExpectationLogger"/> class.
+ </summary>
+ <param name="writer">The writer.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as it was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as it was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TextWriterExpectationLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
+ <summary>
+ Logs the unexpected method call.
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="message">The message.</param>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.StubRecordMockState">
+ <summary>
+ Behave like a stub, all properties and events acts normally, methods calls
+ return default values by default (but can use expectations to set them up), etc.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RecordMockState">
+ <summary>
+ Records all the expectations for a mock
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IMockState">
+ <summary>
+ Different actions on this mock
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockState.Verify">
+ <summary>
+ Verify that this mock expectations have passed.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockState.Replay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockState.BackToRecord">
+ <summary>
+ Gets a mock state that match the original mock state of the object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockState.GetLastMethodOptions``1">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockState.SetExceptionToThrowOnVerify(System.Exception)">
+ <summary>
+ Set the exception to throw when Verify is called.
+ This is used to report exception that may have happened but where caught in the code.
+ This way, they are reported anyway when Verify() is called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockState.NotifyCallOnPropertyBehavior">
+ <summary>
+ This method is called to indicate that a property behavior call.
+ This is done so we generate good error message in the common case of people using
+ Stubbed properties with Return().
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockState.VerifyState">
+ <summary>
+ Gets the matching verify state for this state
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockState.LastMethodOptions">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.GetLastMethodOptions``1">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.SetExceptionToThrowOnVerify(System.Exception)">
+ <summary>
+ Set the exception to throw when Verify is called.
+ This is used to report exception that may have happened but where caught in the code.
+ This way, they are reported anyway when Verify() is called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.NotifyCallOnPropertyBehavior">
+ <summary>
+ This method is called to indicate that a property behavior call.
+ This is done so we generate good error message in the common case of people using
+ Stubbed properties with Return().
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.RecordMockState"/> instance.
+ </summary>
+ <param name="repository">Repository.</param>
+ <param name="mockedObject">The proxy that generates the method calls</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.Replay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.DoReplay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.Verify">
+ <summary>
+ Verify that this mock expectations have passed.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.BackToRecord">
+ <summary>
+ Gets a mock state that match the original mock state of the object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.AssertPreviousMethodIsClose">
+ <summary>
+ Asserts the previous method is closed (had an expectation set on it so we can replay it correctly)
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordMockState.GetDefaultCallCountRangeExpectation">
+ <summary>
+ Get the default call count range expectation
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.RecordMockState.LastExpectation">
+ <summary>
+ Gets the last expectation.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.RecordMockState.MethodCallsCount">
+ <summary>
+ Gets the total method calls count.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.RecordMockState.LastMethodOptions">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.RecordMockState.VerifyState">
+ <summary>
+ Gets the matching verify state for this state
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.StubRecordMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.StubRecordMockState"/> class.
+ </summary>
+ <param name="mockedObject">The proxy that generates the method calls</param>
+ <param name="repository">Repository.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.StubRecordMockState.AssertPreviousMethodIsClose">
+ <summary>
+ We don't care much about expectations here, so we will remove the expectation if
+ it is not closed.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.StubRecordMockState.Replay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.StubRecordMockState.GetDefaultCallCountRangeExpectation">
+ <summary>
+ Get the default call count range expectation
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.StubReplayMockState">
+ <summary>
+ Validate expectations on recorded methods, but in general completely ignoring them.
+ Similar to <seealso cref="T:Rhino.Mocks.Impl.ReplayDynamicMockState"/> except that it would return a
+ <seealso cref="T:Rhino.Mocks.Impl.StubRecordMockState"/> when BackToRecord is called.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.ReplayMockState">
+ <summary>
+ Validate all expectations on a mock
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.ReplayMockState.repository">
+ <summary>
+ The repository for this state
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.ReplayMockState.proxy">
+ <summary>
+ The proxy object for this state
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.GetLastMethodOptions``1">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.#ctor(Rhino.Mocks.Impl.RecordMockState)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.ReplayMockState"/> instance.
+ </summary>
+ <param name="previousState">The previous state for this method</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ This allows derived method to cleanly get a the setupresult behavior while adding
+ their own.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.SetExceptionToThrowOnVerify(System.Exception)">
+ <summary>
+ Set the exception to throw when Verify is called.
+ This is used to report exception that may have happened but where caught in the code.
+ This way, they are reported anyway when Verify() is called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.NotifyCallOnPropertyBehavior">
+ <summary>
+ not relevant
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.Verify">
+ <summary>
+ Verify that this mock expectations have passed.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.Replay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayMockState.BackToRecord">
+ <summary>
+ Gets a mock state that match the original mock state of the object.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ReplayMockState.LastMethodOptions">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ReplayMockState.VerifyState">
+ <summary>
+ Gets the matching verify state for this state
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.StubReplayMockState.#ctor(Rhino.Mocks.Impl.RecordMockState)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.StubReplayMockState"/> class.
+ </summary>
+ <param name="previousState">The previous state for this method</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.StubReplayMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.StubReplayMockState.BackToRecord">
+ <summary>
+ Gets a mock state that matches the original mock state of the object.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.TraceWriterExpectationLogger">
+ <summary>
+ Write rhino mocks log info to the trace
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.TraceWriterExpectationLogger"/> class.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.#ctor(System.Boolean,System.Boolean,System.Boolean)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.Impl.TraceWriterExpectationLogger"/> class.
+ </summary>
+ <param name="logRecorded">if set to <c>true</c> [log recorded].</param>
+ <param name="logReplayed">if set to <c>true</c> [log replayed].</param>
+ <param name="logUnexpected">if set to <c>true</c> [log unexpected].</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as is was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as it was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterExpectationLogger.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
+ <summary>
+ Logs the unexpected method call.
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="message">The message.</param>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter">
+ <summary>
+ Writes log information as stack traces about rhino mocks activity
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.AlternativeWriter">
+ <summary>
+ Allows to redirect output to a different location.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.LogRecordedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as is was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.LogReplayedExpectation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Logs the expectation as it was recorded
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="expectation">The expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.TraceWriterWithStackTraceExpectationWriter.LogUnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.String)">
+ <summary>
+ Logs the unexpected method call.
+ </summary>
+ <param name="invocation">The invocation.</param>
+ <param name="message">The message.</param>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IPartialMockMarker">
+ <summary>
+ Marker interface used to indicate that this is a partial mock.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.OriginalCallOptions">
+ <summary>
+ Options for CallOriginalMethod
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Interfaces.OriginalCallOptions.NoExpectation">
+ <summary>
+ No expectation is created, the method will be called directly
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Interfaces.OriginalCallOptions.CreateExpectation">
+ <summary>
+ Normal expectation is created, but when the method is later called, it will also call the original method
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.MethodInvocation">
+ <summary>
+ This is a data structure that is used by
+ <seealso cref="M:Rhino.Mocks.Interfaces.IMethodOptions`1.WhenCalled(System.Action{Rhino.Mocks.MethodInvocation})"/> to pass
+ the current method to the relevant delegate
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodInvocation.#ctor(Castle.Core.Interceptor.IInvocation)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Rhino.Mocks.MethodInvocation"/> class.
+ </summary>
+ <param name="invocation">The invocation.</param>
+ </member>
+ <member name="P:Rhino.Mocks.MethodInvocation.Arguments">
+ <summary>
+ Gets the args for this method invocation
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.MethodInvocation.Method">
+ <summary>
+ Get the method that was caused this invocation
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.MethodInvocation.ReturnValue">
+ <summary>
+ Gets or sets the return value for this method invocation
+ </summary>
+ <value>The return value.</value>
+ </member>
+ <member name="T:Rhino.Mocks.MockRepository">
+ <summary>
+ Adds optional new usage:
+ using(mockRepository.Record()) {
+ Expect.Call(mock.Method()).Return(retVal);
+ }
+ using(mockRepository.Playback()) {
+ // Execute code
+ }
+ N.B. mockRepository.ReplayAll() and mockRepository.VerifyAll()
+ calls are taken care of by Record/Playback
+ </summary>
+ <summary>
+ Creates proxied instances of types.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateStub``1(System.Object[])">
+ <summary>Generates a stub without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <param name="argumentsForConstructor">Arguments for <typeparamref name="T"/>'s constructor</param>
+ <typeparam name="T">The <see cref="T:System.Type"/> of stub to create.</typeparam>
+ <returns>The stub</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.Stub``1(System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateStub(System.Type,System.Object[])">
+ <summary>Generates a stub without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <param name="type">The <see cref="T:System.Type"/> of stub.</param>
+ <param name="argumentsForConstructor">Arguments for the <paramref name="type"/>'s constructor.</param>
+ <returns>The stub</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.Stub(System.Type,System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateMock``1(System.Object[])">
+ <summary>Generate a mock object without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <typeparam name="T">type <see cref="T:System.Type"/> of mock object to create.</typeparam>
+ <param name="argumentsForConstructor">Arguments for <typeparamref name="T"/>'s constructor</param>
+ <returns>the mock object</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.DynamicMock``1(System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateMock``2(System.Object[])">
+ <summary>Generate a multi-mock object without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <typeparam name="T">The <c>typeof</c> object to generate a mock for.</typeparam>
+ <typeparam name="TMultiMockInterface1">A second interface to generate a multi-mock for.</typeparam>
+ <param name="argumentsForConstructor">Arguments for <typeparamref name="T"/>'s constructor</param>
+ <returns>the multi-mock object</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.DynamicMultiMock(System.Type,System.Type[],System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateMock``3(System.Object[])">
+ <summary>Generate a multi-mock object without without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <typeparam name="T">The <c>typeof</c> object to generate a mock for.</typeparam>
+ <typeparam name="TMultiMockInterface1">An interface to generate a multi-mock for.</typeparam>
+ <typeparam name="TMultiMockInterface2">A second interface to generate a multi-mock for.</typeparam>
+ <param name="argumentsForConstructor">Arguments for <typeparamref name="T"/>'s constructor</param>
+ <returns>the multi-mock object</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.DynamicMultiMock(System.Type,System.Type[],System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateMock(System.Type,System.Type[],System.Object[])">
+ <summary>Creates a multi-mock without without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <param name="type">The type of mock to create, this can be a class</param>
+ <param name="extraTypes">Any extra interfaces to add to the multi-mock, these can only be interfaces.</param>
+ <param name="argumentsForConstructor">Arguments for <paramref name="type"/>'s constructor</param>
+ <returns>the multi-mock object</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.DynamicMultiMock(System.Type,System.Type[],System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateStrictMock``1(System.Object[])">
+ <summary>Creates a strict mock without without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <param name="argumentsForConstructor">Any arguments required for the <typeparamref name="T"/>'s constructor</param>
+ <typeparam name="T">The type of mock object to create.</typeparam>
+ <returns>The mock object with strict replay semantics</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.StrictMock``1(System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateStrictMock``2(System.Object[])">
+ <summary>Creates a strict multi-mock without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <param name="argumentsForConstructor">Any arguments required for the <typeparamref name="T"/>'s constructor</param>
+ <typeparam name="T">The type of mock object to create, this can be a class.</typeparam>
+ <typeparam name="TMultiMockInterface1">An interface to generate a multi-mock for, this must be an interface!</typeparam>
+ <returns>The multi-mock object with strict replay semantics</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.StrictMultiMock(System.Type,System.Type[],System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateStrictMock``3(System.Object[])">
+ <summary>Creates a strict multi-mock without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <param name="argumentsForConstructor">Any arguments required for the <typeparamref name="T"/>'s constructor</param>
+ <typeparam name="T">The type of mock object to create, this can be a class.</typeparam>
+ <typeparam name="TMultiMockInterface1">An interface to generate a multi-mock for, this must be an interface!</typeparam>
+ <typeparam name="TMultiMockInterface2">A second interface to generate a multi-mock for, this must be an interface!</typeparam>
+ <returns>The multi-mock object with strict replay semantics</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.StrictMultiMock(System.Type,System.Type[],System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateStrictMock(System.Type,System.Type[],System.Object[])">
+ <summary>Creates a strict multi-mock without needing a <see cref="T:Rhino.Mocks.MockRepository"/></summary>
+ <param name="type">The type of mock object to create, this can be a class</param>
+ <param name="extraTypes">Any extra interfaces to generate a multi-mock for, these must be interaces!</param>
+ <param name="argumentsForConstructor">Any arguments for the <paramref name="type"/>'s constructor</param>
+ <returns>The strict multi-mock object</returns>
+ <seealso cref="M:Rhino.Mocks.MockRepository.StrictMultiMock(System.Type,System.Type[],System.Object[])"/>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GeneratePartialMock``1(System.Object[])">
+ <summary>
+ </summary>
+ <param name="argumentsForConstructor"></param>
+ <typeparam name="T"></typeparam>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GeneratePartialMock``2(System.Object[])">
+ <summary>
+ </summary>
+ <param name="argumentsForConstructor"></param>
+ <typeparam name="T"></typeparam>
+ <typeparam name="TMultiMockInterface1"></typeparam>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GeneratePartialMock``3(System.Object[])">
+ <summary>
+ </summary>
+ <param name="argumentsForConstructor"></param>
+ <typeparam name="T"></typeparam>
+ <typeparam name="TMultiMockInterface1"></typeparam>
+ <typeparam name="TMultiMockInterface2"></typeparam>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GeneratePartialMock(System.Type,System.Type[],System.Object[])">
+ <summary>
+ </summary>
+ <param name="type"></param>
+ <param name="extraTypes"></param>
+ <param name="argumentsForConstructor"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateDynamicMockWithRemoting``1(System.Object[])">
+ <summary>
+ Generate a mock object with dynamic replay semantics and remoting without needing the mock repository
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GenerateStrictMockWithRemoting``1(System.Object[])">
+ <summary>
+ Generate a mock object with strict replay semantics and remoting without needing the mock repository
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMockInReplay``1(System.Func{Rhino.Mocks.MockRepository,``0})">
+ <summary>Helper method to create a mock object without a repository instance and put the object back into replay mode.</summary>
+ <typeparam name="T">The type of mock object to create</typeparam>
+ <param name="createMock">A delegate that uses a mock repository instance to create the underlying mock</param>
+ <returns>The mock object in the replay mode.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Record">
+ <summary>
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Playback">
+ <summary>
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="F:Rhino.Mocks.MockRepository.generatorMap">
+ <summary>
+ This is a map of types to ProxyGenerators.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MockRepository.lastRepository">
+ <summary>
+ This is used to record the last repository that has a method called on it.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MockRepository.lastMockedObject">
+ <summary>
+ this is used to get to the last proxy on this repository.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MockRepository.delegateProxies">
+ <summary>
+ For mock delegates, maps the proxy instance from intercepted invocations
+ back to the delegate that was originally returned to client code, if any.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MockRepository.proxies">
+ <summary>
+ All the proxies in the mock repositories
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MockRepository.repeatableMethods">
+ <summary>
+ This is here because we can't put it in any of the recorders, since repeatable methods
+ have no orderring, and if we try to handle them using the usual manner, we would get into
+ wierd situations where repeatable method that was defined in an orderring block doesn't
+ exists until we enter this block.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.#ctor">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MockRepository"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Ordered">
+ <summary>
+ Move the repository to ordered mode
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Unordered">
+ <summary>
+ Move the repository to un-ordered mode
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMock(System.Type,System.Object[])">
+ <summary>
+ Creates a mock for the specified type.
+ </summary>
+ <param name="type">Type.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMock(System.Type,System.Object[])">
+ <summary>
+ Creates a strict mock for the specified type.
+ </summary>
+ <param name="type">Type.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMockWithRemoting(System.Type,System.Object[])">
+ <summary>
+ Creates a remoting mock for the specified type.
+ </summary>
+ <param name="type">Type.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMockWithRemoting(System.Type,System.Object[])">
+ <summary>
+ Creates a strict remoting mock for the specified type.
+ </summary>
+ <param name="type">Type.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMockWithRemoting``1(System.Object[])">
+ <summary>
+ Creates a remoting mock for the specified type.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMockWithRemoting``1(System.Object[])">
+ <summary>
+ Creates a strict remoting mock for the specified type.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock(System.Type,System.Type[])">
+ <summary>
+ Creates a mock from several types, with strict semantics.
+ Only <paramref name="mainType"/> may be a class.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock(System.Type,System.Type[])">
+ <summary>
+ Creates a strict mock from several types, with strict semantics.
+ Only <paramref name="mainType"/> may be a class.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock(System.Type,System.Type[],System.Object[])">
+ <summary>
+ Creates a mock from several types, with strict semantics.
+ Only <paramref name="mainType"/> may be a class.
+ </summary>
+ <param name="mainType">The main type to mock.</param>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock(System.Type,System.Type[],System.Object[])">
+ <summary>
+ Creates a strict mock from several types, with strict semantics.
+ Only <paramref name="mainType"/> may be a class.
+ </summary>
+ <param name="mainType">The main type to mock.</param>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock(System.Type,System.Type[])">
+ <summary>
+ Creates a mock from several types, with dynamic semantics.
+ Only <paramref name="mainType"/> may be a class.
+ </summary>
+ <param name="mainType">The main type to mock.</param>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock(System.Type,System.Type[],System.Object[])">
+ <summary>
+ Creates a mock from several types, with dynamic semantics.
+ Only <paramref name="mainType"/> may be a class.
+ </summary>
+ <param name="mainType">The main type to mock.</param>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMock(System.Type,System.Object[])">
+ <summary>Creates a dynamic mock for the specified type.</summary>
+ <param name="type">Type.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMockWithRemoting(System.Type,System.Object[])">
+ <summary>Creates a dynamic mock for the specified type.</summary>
+ <param name="type">Type.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMockWithRemoting``1(System.Object[])">
+ <summary>Creates a dynamic mock for the specified type.</summary>
+ <typeparam name="T"></typeparam>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PartialMock(System.Type,System.Object[])">
+ <summary>Creates a mock object that defaults to calling the class methods if no expectation is set on the method.</summary>
+ <param name="type">Type.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock(System.Type,System.Type[])">
+ <summary>Creates a mock object that defaults to calling the class methods.</summary>
+ <param name="type">Type.</param>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock(System.Type,System.Type[],System.Object[])">
+ <summary>Creates a mock object that defaults to calling the class methods.</summary>
+ <param name="type">Type.</param>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.RemotingMock(System.Type,Rhino.Mocks.MockRepository.CreateMockState)">
+ <summary>Creates a mock object using remoting proxies</summary>
+ <param name="type">Type to mock - must be MarshalByRefObject</param>
+ <returns>Mock object</returns>
+ <remarks>Proxy mock can mock non-virtual methods, but not static methods</remarks>
+ <param name="factory">Creates the mock state for this proxy</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Replay(System.Object)">
+ <summary>
+ Cause the mock state to change to replay, any further call is compared to the
+ ones that were called in the record state.
+ </summary>
+ <remarks>This method *cannot* be called from inside an ordering.</remarks>
+ <param name="obj">the object to move to replay state</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.ReplayCore(System.Object,System.Boolean)">
+ <summary>
+ Cause the mock state to change to replay, any further call is compared to the
+ ones that were called in the record state.
+ </summary>
+ <param name="obj">the object to move to replay state</param>
+ <param name="checkInsideOrdering"></param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.BackToRecord(System.Object)">
+ <summary>Move the mocked object back to record state.<para>You can (and it's recommended) to run {Verify()} before you use this method.</para></summary>
+ <remarks>Will delete all current expectations!</remarks>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.BackToRecord(System.Object,Rhino.Mocks.BackToRecordOptions)">
+ <summary>
+ Move the mocked object back to record state.
+ Optionally, can delete all current expectations, but allows more granularity about how
+ it would behave with regard to the object state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Verify(System.Object)">
+ <summary>
+ Verify that all the expectations for this object were fulfilled.
+ </summary>
+ <param name="obj">the object to verify the expectations for</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.LastMethodCall``1(System.Object)">
+ <summary>
+ Get the method options for the last call on
+ mockedInstance.
+ </summary>
+ <param name="mockedInstance">The mock object</param>
+ <returns>Method options for the last call</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GetMockObjectFromInvocationProxy(System.Object)">
+ <summary>
+ Maps an invocation proxy back to the mock object instance that was originally
+ returned to client code which might have been a delegate to this proxy.
+ </summary>
+ <param name="invocationProxy">The mock object proxy from the intercepted invocation</param>
+ <returns>The mock object</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMockObject(System.Type,Rhino.Mocks.MockRepository.CreateMockState,System.Type[],System.Object[])">
+ <summary>This is provided to allow advance extention functionality, where Rhino Mocks standard functionality is not enough.</summary>
+ <param name="type">The type to mock</param>
+ <param name="factory">Delegate that create the first state of the mocked object (usualy the record state).</param>
+ <param name="extras">Additional types to be implemented, this can be only interfaces </param>
+ <param name="argumentsForConstructor">optional arguments for the constructor</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GetMockedObject(System.Object)">
+ <summary>
+ Method: GetMockedObject
+ Get an IProxy from a mocked object instance, or throws if the
+ object is not a mock object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GetMockedObjectOrNull(System.Object)">
+ <summary>
+ Method: GetMockedObjectOrNull
+ Get an IProxy from a mocked object instance, or null if the
+ object is not a mock object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PopRecorder">
+ <summary>Pops the recorder.</summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PushRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>Pushes the recorder.</summary>
+ <param name="newRecorder">New recorder.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.BackToRecordAll">
+ <summary>
+ All the mock objects in this repository will be moved
+ to record state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.BackToRecordAll(Rhino.Mocks.BackToRecordOptions)">
+ <summary>
+ All the mock objects in this repository will be moved
+ to record state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.ReplayAll">
+ <summary>
+ Replay all the mocks from this repository
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.VerifyAll">
+ <summary>
+ Verify all the mocks from this repository
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.GetProxyGenerator(System.Type)">
+ <summary>
+ Gets the proxy generator for a specific type. Having a single ProxyGenerator
+ with multiple types linearly degrades the performance so this implementation
+ keeps one ProxyGenerator per type.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.SetExceptionToBeThrownOnVerify(System.Object,Rhino.Mocks.Exceptions.ExpectationViolationException)">
+ <summary>Set the exception to be thrown when verified is called.</summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMock``1(System.Object[])">
+ <summary>
+ Creates a mock for the spesified type with strict mocking semantics.
+ <para>Strict semantics means that any call that wasn't explicitly recorded is considered an error and would cause an exception to be thrown.</para>
+ </summary>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMock``1(System.Object[])">
+ <summary>
+ Creates a mock for the spesified type with strict mocking semantics.
+ <para>Strict semantics means that any call that wasn't explicitly recorded is considered an error and would cause an exception to be thrown.</para>
+ </summary>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMock``1(System.Object[])">
+ <summary>
+ Creates a dynamic mock for the specified type.
+ </summary>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock``1(System.Type[])">
+ <summary>
+ Creates a mock object from several types.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock``1(System.Type[])">
+ <summary>
+ Creates a strict mock object from several types.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock``1(System.Type[])">
+ <summary>
+ Create a mock object from several types with dynamic semantics.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock``1(System.Type[])">
+ <summary>
+ Create a mock object from several types with partial semantics.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.CreateMultiMock``1(System.Type[],System.Object[])">
+ <summary>
+ Create a mock object from several types with strict semantics.
+ </summary>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.StrictMultiMock``1(System.Type[],System.Object[])">
+ <summary>
+ Create a strict mock object from several types with strict semantics.
+ </summary>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.DynamicMultiMock``1(System.Type[],System.Object[])">
+ <summary>
+ Create a mock object from several types with dynamic semantics.
+ </summary>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PartialMultiMock``1(System.Type[],System.Object[])">
+ <summary>
+ Create a mock object from several types with partial semantics.
+ </summary>
+ <param name="extraTypes">Extra interface types to mock.</param>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.PartialMock``1(System.Object[])">
+ <summary>
+ Create a mock object with from a class that defaults to calling the class methods
+ </summary>
+ <param name="argumentsForConstructor">Arguments for the class' constructor, if mocking a concrete class</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Stub``1(System.Object[])">
+ <summary>
+ Create a stub object, one that has properties and events ready for use, and
+ can have methods called on it. It requires an explicit step in order to create
+ an expectation for a stub.
+ </summary>
+ <param name="argumentsForConstructor">The arguments for constructor.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.Stub(System.Type,System.Object[])">
+ <summary>
+ Create a stub object, one that has properties and events ready for use, and
+ can have methods called on it. It requires an explicit step in order to create
+ an expectation for a stub.
+ </summary>
+ <param name="type">The type.</param>
+ <param name="argumentsForConstructor">The arguments for constructor.</param>
+ <returns>The stub</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.IsInReplayMode(System.Object)">
+ <summary>
+ Returns true if the passed mock is currently in replay mode.
+ </summary>
+ <param name="mock">The mock to test.</param>
+ <returns>True if the mock is in replay mode, false otherwise.</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.IsStub(System.Object)">
+ <summary>
+ Determines whether the specified proxy is a stub.
+ </summary>
+ <param name="proxy">The proxy.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MockRepository.RegisterPropertyBehaviorOn(Rhino.Mocks.Interfaces.IMockedObject)">
+ <summary>
+ Register a call on a prperty behavior
+ </summary>
+ <param name="instance"></param>
+ </member>
+ <member name="P:Rhino.Mocks.MockRepository.Recorder">
+ <summary>
+ Gets the recorder.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.MockRepository.Replayer">
+ <summary>
+ Gets the replayer for this repository.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.MockRepository.LastMockedObject">
+ <summary>
+ Gets the last proxy which had a method call.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.MockRepository.CreateMockState">
+ <summary>
+ Delegate: CreateMockState
+ This is used internally to cleanly handle the creation of different
+ RecordMockStates.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.RhinoMocksExtensions">
+ <summary>
+ A set of extension methods that adds Arrange Act Assert mode to Rhino Mocks
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.Expect``1(``0,System.Action{``0})">
+ <summary>
+ Create an expectation on this mock for this action to occur
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.BackToRecord``1(``0)">
+ <summary>
+ Reset all expectations on this mock object
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.BackToRecord``1(``0,Rhino.Mocks.BackToRecordOptions)">
+ <summary>
+ Reset the selected expectation on this mock object
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="options">The options to reset the expectations on this mock.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.Replay``1(``0)">
+ <summary>
+ Cause the mock state to change to replay, any further call is compared to the
+ ones that were called in the record state.
+ </summary>
+ <param name="mock">the mocked object to move to replay state</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetMockRepository``1(``0)">
+ <summary>
+ Gets the mock repository for this specificied mock object
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.Expect``2(``0,Rhino.Mocks.Function{``0,``1})">
+ <summary>
+ Create an expectation on this mock for this action to occur
+ </summary>
+ <typeparam name="T"></typeparam>
+ <typeparam name="R"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.Stub``1(``0,System.Action{``0})">
+ <summary>
+ Tell the mock object to perform a certain action when a matching
+ method is called.
+ Does not create an expectation for this method.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.Stub``2(``0,Rhino.Mocks.Function{``0,``1})">
+ <summary>
+ Tell the mock object to perform a certain action when a matching
+ method is called.
+ Does not create an expectation for this method.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <typeparam name="R"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetArgumentsForCallsMadeOn``1(``0,System.Action{``0})">
+ <summary>
+ Gets the arguments for calls made on this mock object and the method that was called
+ in the action.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <returns></returns>
+ <example>
+ Here we will get all the arguments for all the calls made to DoSomething(int)
+ <code>
+ var argsForCalls = foo54.GetArgumentsForCallsMadeOn(x => x.DoSomething(0))
+ </code>
+ </example>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetArgumentsForCallsMadeOn``1(``0,System.Action{``0},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
+ <summary>
+ Gets the arguments for calls made on this mock object and the method that was called
+ in the action and matches the given constraints
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <param name="setupConstraints">The setup constraints.</param>
+ <returns></returns>
+ <example>
+ Here we will get all the arguments for all the calls made to DoSomething(int)
+ <code>
+ var argsForCalls = foo54.GetArgumentsForCallsMadeOn(x => x.DoSomething(0))
+ </code>
+ </example>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled``1(``0,System.Action{``0})">
+ <summary>
+ Asserts that a particular method was called on this mock object
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled``1(``0,System.Action{``0},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
+ <summary>
+ Asserts that a particular method was called on this mock object that match
+ a particular constraint set.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <param name="setupConstraints">The setup constraints.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled``1(``0,System.Func{``0,System.Object})">
+ <summary>
+ Asserts that a particular method was called on this mock object that match
+ a particular constraint set.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasCalled``1(``0,System.Func{``0,System.Object},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
+ <summary>
+ Asserts that a particular method was called on this mock object that match
+ a particular constraint set.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <param name="setupConstraints">The setup constraints.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasNotCalled``1(``0,System.Action{``0})">
+ <summary>
+ Asserts that a particular method was NOT called on this mock object
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasNotCalled``1(``0,System.Action{``0},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
+ <summary>
+ Asserts that a particular method was NOT called on this mock object that match
+ a particular constraint set.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <param name="setupConstraints">The setup constraints.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasNotCalled``1(``0,System.Func{``0,System.Object})">
+ <summary>
+ Asserts that a particular method was NOT called on this mock object
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertWasNotCalled``1(``0,System.Func{``0,System.Object},System.Action{Rhino.Mocks.Interfaces.IMethodOptions{System.Object}})">
+ <summary>
+ Asserts that a particular method was NOT called on this mock object
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="mock">The mock.</param>
+ <param name="action">The action.</param>
+ <param name="setupConstraints">The setup constraints.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.FindAppropriteType``1(Rhino.Mocks.Interfaces.IMockedObject)">
+ <summary>
+ Finds the approprite implementation type of this item.
+ This is the class or an interface outside of the rhino mocks.
+ </summary>
+ <param name="mockedObj">The mocked obj.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.VerifyAllExpectations(System.Object)">
+ <summary>
+ Verifies all expectations on this mock object
+ </summary>
+ <param name="mockObject">The mock object.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.GetEventRaiser``1(``0,System.Action{``0})">
+ <summary>
+ Gets the event raiser for the event that was called in the action passed
+ </summary>
+ <typeparam name="TEventSource">The type of the event source.</typeparam>
+ <param name="mockObject">The mock object.</param>
+ <param name="eventSubscription">The event subscription.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.Raise``1(``0,System.Action{``0},System.Object,System.EventArgs)">
+ <summary>
+ Raise the specified event using the passed arguments.
+ The even is extracted from the passed labmda
+ </summary>
+ <typeparam name="TEventSource">The type of the event source.</typeparam>
+ <param name="mockObject">The mock object.</param>
+ <param name="eventSubscription">The event subscription.</param>
+ <param name="sender">The sender.</param>
+ <param name="args">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.Raise``1(``0,System.Action{``0},System.Object[])">
+ <summary>
+ Raise the specified event using the passed arguments.
+ The even is extracted from the passed labmda
+ </summary>
+ <typeparam name="TEventSource">The type of the event source.</typeparam>
+ <param name="mockObject">The mock object.</param>
+ <param name="eventSubscription">The event subscription.</param>
+ <param name="args">The args.</param>
+ </member>
+ <member name="M:Rhino.Mocks.RhinoMocksExtensions.AssertExactlySingleExpectaton``1(Rhino.Mocks.MockRepository,``0)">
+ <summary>TODO: Make this better! It currently breaks down when mocking classes or
+ ABC's that call other virtual methods which are getting intercepted too. I wish
+ we could just walk Expression{Action{Action{T}} to assert only a single
+ method is being made.
+
+ The workaround is to not call foo.AssertWasCalled .. rather foo.VerifyAllExpectations()</summary>
+ <typeparam name="T">The type of mock object</typeparam>
+ <param name="mocks">The mock repository</param>
+ <param name="mockToRecordExpectation">The actual mock object to assert expectations on.</param>
+ </member>
+ <member name="T:Rhino.Mocks.RhinoMocksExtensions.VoidType">
+ <summary>
+ Fake type that disallow creating it.
+ Should have been System.Type, but we can't use it.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Utilities.GenericsUtil">
+ <summary>
+ Utility class for dealing with messing generics scenarios.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Utilities.GenericsUtil.HasOpenGenericParam(System.Type)">
+ <summary>
+ There are issues with trying to get this to work correctly with open generic types, since this is an edge case,
+ I am letting the runtime handle it.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Utilities.GenericsUtil.GetRealType(System.Type,Castle.Core.Interceptor.IInvocation)">
+ <summary>
+ Gets the real type, including de-constructing and constructing the type of generic
+ methods parameters.
+ </summary>
+ <param name="type">The type.</param>
+ <param name="invocation">The invocation.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Utilities.GenericsUtil.ReconstructGenericType(System.Type,System.Collections.Generic.Dictionary{System.String,System.Type})">
+ <summary>
+ Because we need to support complex types here (simple generics were handled above) we
+ need to be aware of the following scenarios:
+ List[T] and List[Foo[T]]
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Generated.ExpectationsList">
+ <summary>
+ ExpectationsList
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary">
+ <summary>
+ Dictionary
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Generated.ProxyStateDictionary">
+ <summary>
+ Dictionary class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Generated.ProxyStateDictionary.#ctor">
+ <summary>
+ Create a new instance of <c>ProxyStateDictionary</c>
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.CreateMethodExpectation">
+ <summary>
+ Allows to call a method and immediately get it's options.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.ICreateMethodExpectation">
+ <summary>
+ Interface to allow calling a method and immediately get it's options.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.ICreateMethodExpectation.Call``1(``0)">
+ <summary>
+ Get the method options for the call
+ </summary>
+ <param name="ignored">The method call should go here, the return value is ignored</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.CreateMethodExpectation.#ctor(Rhino.Mocks.Interfaces.IMockedObject,System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.CreateMethodExpectation"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.CreateMethodExpectation.Call``1(``0)">
+ <summary>
+ Get the method options for the call
+ </summary>
+ <param name="ignored">The method call should go here, the return value is ignored</param>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult">
+ <summary>
+ Allows to call a method and immediately get it's options.
+ Set the expected number for the call to Any()
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult.#ctor(Rhino.Mocks.Interfaces.IMockedObject,System.Object)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult"/> instance.
+ </summary>
+ <param name="mockedObject">Proxy.</param>
+ <param name="mockedInstance">Mocked instance.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.CreateMethodExpectationForSetupResult.Call``1(``0)">
+ <summary>
+ Get the method options for the call
+ </summary>
+ <param name="ignored">The method call should go here, the return value is ignored</param>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.DelegateTargetInterfaceCreator">
+ <summary>
+ This class is reponsible for taking a delegate and creating a wrapper
+ interface around it, so it can be mocked.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.DelegateTargetInterfaceCreator.moduleScope">
+ <summary>
+ The scope for all the delegate interfaces create by this mock repository.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.DelegateTargetInterfaceCreator.GetDelegateTargetInterface(System.Type)">
+ <summary>
+ Gets a type with an "Invoke" method suitable for use as a target of the
+ specified delegate type.
+ </summary>
+ <param name="delegateType"></param>
+ <returns></returns>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.EventRaiser">
+ <summary>
+ Raise events for all subscribers for an event
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IEventRaiser">
+ <summary>
+ Raise events for all subscribers for an event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IEventRaiser.Raise(System.Object[])">
+ <summary>
+ Raise the event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IEventRaiser.Raise(System.Object,System.EventArgs)">
+ <summary>
+ The most common form for the event handler signature
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.EventRaiser.Create(System.Object,System.String)">
+ <summary>
+ Create an event raiser for the specified event on this instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.EventRaiser.#ctor(Rhino.Mocks.Interfaces.IMockedObject,System.String)">
+ <summary>
+ Creates a new instance of <c>EventRaiser</c>
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.EventRaiser.Raise(System.Object[])">
+ <summary>
+ Raise the event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.EventRaiser.Raise(System.Object,System.EventArgs)">
+ <summary>
+ The most common signature for events
+ Here to allow intellisense to make better guesses about how
+ it should suggest parameters.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.MethodOptions`1">
+ <summary>
+ Allows to define what would happen when a method
+ is called.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IMethodOptions`1">
+ <summary>
+ Allows to define what would happen when a method
+ is called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Return(`0)">
+ <summary>
+ Set the return value for the method.
+ </summary>
+ <param name="objToReturn">The object the method will return</param>
+ <returns>IRepeat that defines how many times the method will return this value</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.TentativeReturn">
+ <summary>
+ Allow to override this return value in the future
+ </summary>
+ <returns>IRepeat that defines how many times the method will return this value</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Throw(System.Exception)">
+ <summary>
+ Throws the specified exception when the method is called.
+ </summary>
+ <param name="exception">Exception to throw</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.IgnoreArguments">
+ <summary>
+ Ignores the arguments for this method. Any argument will be matched
+ againt this method.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Constraints(Rhino.Mocks.Constraints.AbstractConstraint[])">
+ <summary>
+ Add constraints for the method's arguments.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback(System.Delegate)">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback(Rhino.Mocks.Delegates.Function{System.Boolean})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``1(Rhino.Mocks.Delegates.Function{System.Boolean,``0})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``2(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``3(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``4(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``5(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``6(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``7(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``8(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``9(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Callback``10(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Do(System.Delegate)">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.WhenCalled(System.Action{Rhino.Mocks.MethodInvocation})">
+ <summary>
+ Set a delegate to be called when the expectation is matched
+ and allow to optionally modify the invocation as needed
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.CallOriginalMethod">
+ <summary>
+ Call the original method on the class, bypassing the mocking layers.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.CallOriginalMethod(Rhino.Mocks.Interfaces.OriginalCallOptions)">
+ <summary>
+ Call the original method on the class, optionally bypassing the mocking layers.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.PropertyBehavior">
+ <summary>
+ Use the property as a simple property, getting/setting the values without
+ causing mock expectations.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.SetPropertyAndIgnoreArgument">
+ <summary>
+ Expect last (property) call as property setting, ignore the argument given
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.SetPropertyWithArgument(`0)">
+ <summary>
+ Expect last (property) call as property setting with a given argument.
+ </summary>
+ <param name="argument"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.GetEventRaiser">
+ <summary>
+ Get an event raiser for the last subscribed event.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.OutRef(System.Object[])">
+ <summary>
+ Set the parameter values for out and ref parameters.
+ This is done using zero based indexing, and _ignoring_ any non out/ref parameter.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodOptions`1.Message(System.String)">
+ <summary>
+ Documentation message for the expectation
+ </summary>
+ <param name="documentationMessage">Message</param>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMethodOptions`1.Repeat">
+ <summary>
+ Better syntax to define repeats.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IRepeat`1">
+ <summary>
+ Allows to specify the number of time for method calls
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Twice">
+ <summary>
+ Repeat the method twice.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Once">
+ <summary>
+ Repeat the method once.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.AtLeastOnce">
+ <summary>
+ Repeat the method at least once, then repeat as many time as it would like.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Any">
+ <summary>
+ Repeat the method any number of times.
+ This has special affects in that this method would now ignore orderring.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Times(System.Int32,System.Int32)">
+ <summary>
+ Set the range to repeat an action.
+ </summary>
+ <param name="min">Min.</param>
+ <param name="max">Max.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Times(System.Int32)">
+ <summary>
+ Set the amount of times to repeat an action.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IRepeat`1.Never">
+ <summary>
+ This method must not appear in the replay state.
+ This has special affects in that this method would now ignore orderring.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.#ctor(Rhino.Mocks.MockRepository,Rhino.Mocks.Impl.RecordMockState,Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Interfaces.IMethodOptions`1"/> instance.
+ </summary>
+ <param name="repository">the repository for this expectation</param>
+ <param name="record">the recorder for this proxy</param>
+ <param name="proxy">the proxy for this expectation</param>
+ <param name="expectation">Expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Constraints(Rhino.Mocks.Constraints.AbstractConstraint[])">
+ <summary>
+ Add constraints for the method's arguments.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback(System.Delegate)">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback(Rhino.Mocks.Delegates.Function{System.Boolean})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``1(Rhino.Mocks.Delegates.Function{System.Boolean,``0})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``2(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``3(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``4(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``5(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``6(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``7(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``8(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``9(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Callback``10(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Do(System.Delegate)">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.WhenCalled(System.Action{Rhino.Mocks.MethodInvocation})">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Return(`0)">
+ <summary>
+ Set the return value for the method.
+ </summary>
+ <param name="objToReturn">The object the method will return</param>
+ <returns>IRepeat that defines how many times the method will return this value</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.TentativeReturn">
+ <summary>
+ Set the return value for the method, but allow to override this return value in the future
+ </summary>
+ <returns>IRepeat that defines how many times the method will return this value</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Throw(System.Exception)">
+ <summary>
+ Throws the specified exception when the method is called.
+ </summary>
+ <param name="exception">Exception to throw</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.IgnoreArguments">
+ <summary>
+ Ignores the arguments for this method. Any argument will be matched
+ againt this method.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.CallOriginalMethod">
+ <summary>
+ Call the original method on the class, bypassing the mocking layers.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.CallOriginalMethod(Rhino.Mocks.Interfaces.OriginalCallOptions)">
+ <summary>
+ Call the original method on the class, optionally bypassing the mocking layers
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.PropertyBehavior">
+ <summary>
+ Use the property as a simple property, getting/setting the values without
+ causing mock expectations.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.SetPropertyAndIgnoreArgument">
+ <summary>
+ Expect last (property) call as property setting, ignore the argument given
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.SetPropertyWithArgument(`0)">
+ <summary>
+ Expect last (property) call as property setting with a given argument.
+ </summary>
+ <param name="argument"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.GetEventRaiser">
+ <summary>
+ Gets the event raiser for the last event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.OutRef(System.Object[])">
+ <summary>
+ Set the parameter values for out and ref parameters.
+ This is done using zero based indexing, and _ignoring_ any non out/ref parameter.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Twice">
+ <summary>
+ Repeat the method twice.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Once">
+ <summary>
+ Repeat the method once.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.AtLeastOnce">
+ <summary>
+ Repeat the method at least once, then repeat as many time as it would like.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Never">
+ <summary>
+ This method must not appear in the replay state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Message(System.String)">
+ <summary>
+ Documentation message for the expectation
+ </summary>
+ <param name="documentationMessage">Message</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Any">
+ <summary>
+ Repeat the method any number of times.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Times(System.Int32,System.Int32)">
+ <summary>
+ Set the range to repeat an action.
+ </summary>
+ <param name="min">Min.</param>
+ <param name="max">Max.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MethodOptions`1.Times(System.Int32)">
+ <summary>
+ Set the amount of times to repeat an action.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.MethodOptions`1.Repeat">
+ <summary>
+ Better syntax to define repeats.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.MockedObjectsEquality">
+ <summary>
+ This class will provide hash code for hashtables without needing
+ to call the GetHashCode() on the object, which may very well be mocked.
+ This class has no state so it is a singelton to avoid creating a lot of objects
+ that does the exact same thing. See flyweight patterns.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MockedObjectsEquality.GetHashCode(System.Object)">
+ <summary>
+ Get the hash code for a proxy object without calling GetHashCode()
+ on the object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MockedObjectsEquality.Compare(System.Object,System.Object)">
+ <summary>
+ Compares two instances of mocked objects
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.MockedObjectsEquality.Equals(System.Object,System.Object)">
+ <summary>
+ Compare two mocked objects
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.MockedObjectsEquality.NextHashCode">
+ <summary>
+ The next hash code value for a mock object.
+ This is safe for multi threading.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.MockedObjectsEquality.Instance">
+ <summary>
+ The sole instance of <see cref="T:Rhino.Mocks.Impl.MockedObjectsEquality"/>
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.ProxyInstance">
+ <summary>
+ This is a dummy type that is used merely to give DynamicProxy the proxy instance that
+ it needs to create IProxy's types.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IMockedObject">
+ <summary>
+ Interface to find the repository of a mocked object
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.ShouldCallOriginal(System.Reflection.MethodInfo)">
+ <summary>
+ Return true if it should call the original method on the object
+ instead of pass it to the message chain.
+ </summary>
+ <param name="method">The method to call</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.RegisterMethodForCallingOriginal(System.Reflection.MethodInfo)">
+ <summary>
+ Register a method to be called on the object directly
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.RegisterPropertyBehaviorFor(System.Reflection.PropertyInfo)">
+ <summary>
+ Register a property on the object that will behave as a simple property
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.IsPropertyMethod(System.Reflection.MethodInfo)">
+ <summary>
+ Check if the method was registered as a property method.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.HandleProperty(System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Do get/set on the property, according to need.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.HandleEvent(System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Do add/remove on the event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.GetEventSubscribers(System.String)">
+ <summary>
+ Get the subscribers of a spesific event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.GetDeclaringType(System.Reflection.MethodInfo)">
+ <summary>
+ Gets the declaring type of the method, taking into acccount the possible generic
+ parameters that it was created with.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.ClearState(Rhino.Mocks.BackToRecordOptions)">
+ <summary>
+ Clears the state of the object, remove original calls, property behavior, subscribed events, etc.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.GetCallArgumentsFor(System.Reflection.MethodInfo)">
+ <summary>
+ Get all the method calls arguments that were made against this object with the specificed
+ method.
+ </summary>
+ <remarks>
+ Only method calls in replay mode are counted
+ </remarks>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMockedObject.MethodCall(System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Records the method call
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockedObject.DependentMocks">
+ <summary>
+ Mocks that are tied to this mock lifestyle
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockedObject.ProxyHash">
+ <summary>
+ The unique hash code of this mock, which is not related
+ to the value of the GetHashCode() call on the object.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockedObject.Repository">
+ <summary>
+ Gets the repository.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockedObject.ImplementedTypes">
+ <summary>
+ Gets the implemented types by this mocked object
+ </summary>
+ <value>The implemented.</value>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockedObject.ConstructorArguments">
+ <summary>
+ Gets or sets the constructor arguments.
+ </summary>
+ <value>The constructor arguments.</value>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMockedObject.MockedObjectInstance">
+ <summary>
+ The mocked instance that this is representing
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.#ctor(Rhino.Mocks.MockRepository,System.Type[])">
+ <summary>
+ Create a new instance of <see cref="T:Rhino.Mocks.Impl.ProxyInstance"/>
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.ShouldCallOriginal(System.Reflection.MethodInfo)">
+ <summary>
+ Return true if it should call the original method on the object
+ instead of pass it to the message chain.
+ </summary>
+ <param name="method">The method to call</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.RegisterMethodForCallingOriginal(System.Reflection.MethodInfo)">
+ <summary>
+ Register a method to be called on the object directly
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.RegisterPropertyBehaviorFor(System.Reflection.PropertyInfo)">
+ <summary>
+ Register a property on the object that will behave as a simple property
+ Return true if there is already a value for the property
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.IsPropertyMethod(System.Reflection.MethodInfo)">
+ <summary>
+ Check if the method was registered as a property method.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.HandleProperty(System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Do get/set on the property, according to need.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.HandleEvent(System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Do add/remove on the event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.GetEventSubscribers(System.String)">
+ <summary>
+ Get the subscribers of a spesific event
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.GetDeclaringType(System.Reflection.MethodInfo)">
+ <summary>
+ Gets the declaring type of the method, taking into acccount the possible generic
+ parameters that it was created with.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.GetCallArgumentsFor(System.Reflection.MethodInfo)">
+ <summary>
+ Get all the method calls arguments that were made against this object with the specificed
+ method.
+ </summary>
+ <param name="method"></param>
+ <returns></returns>
+ <remarks>
+ Only method calls in replay mode are counted
+ </remarks>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.MethodCall(System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Records the method call
+ </summary>
+ <param name="method"></param>
+ <param name="args"></param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ProxyInstance.ClearState(Rhino.Mocks.BackToRecordOptions)">
+ <summary>
+ Clears the state of the object, remove original calls, property behavior, subscribed events, etc.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ProxyInstance.DependentMocks">
+ <summary>
+ Mocks that are tied to this mock lifestyle
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ProxyInstance.ProxyHash">
+ <summary>
+ The unique hash code of this proxy, which is not related
+ to the value of the GetHashCode() call on the object.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ProxyInstance.Repository">
+ <summary>
+ Gets the repository.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ProxyInstance.ConstructorArguments">
+ <summary>
+ Gets or sets the constructor arguments.
+ </summary>
+ <value>The constructor arguments.</value>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ProxyInstance.MockedObjectInstance">
+ <summary>
+ The mocked instance that this is representing
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.ProxyInstance.ImplementedTypes">
+ <summary>
+ Gets the implemented types by this mocked object
+ </summary>
+ <value>The implemented.</value>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.Range">
+ <summary>
+ Range for expected method calls
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.Range.#ctor(System.Int32,System.Nullable{System.Int32})">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.Range"/> instance.
+ </summary>
+ <param name="min">Min.</param>
+ <param name="max">Max.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.Range.ToString">
+ <summary>
+ Return the string representation of this range.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.Range.Min">
+ <summary>
+ Gets or sets the min.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.Range.Max">
+ <summary>
+ Gets or sets the max.
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RecordDynamicMockState">
+ <summary>
+ Records all the expectations for a mock and
+ return a ReplayDynamicMockState when Replay()
+ is called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordDynamicMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.RecordDynamicMockState"/> instance.
+ </summary>
+ <param name="repository">Repository.</param>
+ <param name="mockedObject">The proxy that generates the method calls</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordDynamicMockState.DoReplay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordDynamicMockState.GetDefaultCallCountRangeExpectation">
+ <summary>
+ Get the default call count range expectation
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordDynamicMockState.BackToRecord">
+ <summary>
+ Gets a mock state that match the original mock state of the object.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RecordPartialMockState">
+ <summary>
+ Records all the expectations for a mock and
+ return a ReplayPartialMockState when Replay()
+ is called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordPartialMockState.#ctor(Rhino.Mocks.Interfaces.IMockedObject,Rhino.Mocks.MockRepository)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.RecordDynamicMockState"/> instance.
+ </summary>
+ <param name="repository">Repository.</param>
+ <param name="mockedObject">The proxy that generates the method calls</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordPartialMockState.DoReplay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RecordPartialMockState.BackToRecord">
+ <summary>
+ Gets a mock state that matches the original mock state of the object.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RepeatableOption">
+ <summary>
+ Options for special repeat option
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.RepeatableOption.Normal">
+ <summary>
+ This method can be called only as many times as the IMethodOptions.Expect allows.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.RepeatableOption.Never">
+ <summary>
+ This method should never be called
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.RepeatableOption.Any">
+ <summary>
+ This method can be call any number of times
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.RepeatableOption.OriginalCall">
+ <summary>
+ This method will call the original method
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.RepeatableOption.OriginalCallBypassingMocking">
+ <summary>
+ This method will call the original method, bypassing the mocking layer
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.Impl.RepeatableOption.PropertyBehavior">
+ <summary>
+ This method will simulate simple property behavior
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.ReplayDynamicMockState">
+ <summary>
+ Validate all expectations on a mock and ignores calls to
+ any method that was not setup properly.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayDynamicMockState.#ctor(Rhino.Mocks.Impl.RecordDynamicMockState)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.ReplayDynamicMockState"/> instance.
+ </summary>
+ <param name="previousState">The previous state for this method</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayDynamicMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayDynamicMockState.BackToRecord">
+ <summary>
+ Gets a mock state that match the original mock state of the object.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.ReplayPartialMockState">
+ <summary>
+ Validate all expectations on a mock and ignores calls to
+ any method that was not setup properly.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayPartialMockState.#ctor(Rhino.Mocks.Impl.RecordPartialMockState)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.ReplayDynamicMockState"/> instance.
+ </summary>
+ <param name="previousState">The previous state for this method</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayPartialMockState.DoMethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.ReplayPartialMockState.BackToRecord">
+ <summary>
+ Gets a mock state that match the original mock state of the object.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.RhinoInterceptor">
+ <summary>
+ Summary description for RhinoInterceptor.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RhinoInterceptor.#ctor(Rhino.Mocks.MockRepository,Rhino.Mocks.Interfaces.IMockedObject)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.Impl.RhinoInterceptor"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.RhinoInterceptor.Intercept(Castle.Core.Interceptor.IInvocation)">
+ <summary>
+ Intercept a method call and direct it to the repository.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.Validate">
+ <summary>
+ Validate arguments for methods
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.Validate.IsNotNull(System.Object,System.String)">
+ <summary>
+ Validate that the passed argument is not null.
+ </summary>
+ <param name="obj">The object to validate</param>
+ <param name="name">The name of the argument</param>
+ <exception cref="T:System.ArgumentNullException">
+ If the obj is null, an ArgumentNullException with the passed name
+ is thrown.
+ </exception>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.Validate.ArgsEqual(System.Object[],System.Object[])">
+ <summary>
+ Validate that the arguments are equal.
+ </summary>
+ <param name="expectedArgs">Expected args.</param>
+ <param name="actualArgs">Actual Args.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.Validate.AreEqual(System.Object,System.Object)">
+ <summary>
+ Validate that the two arguments are equals, including validation for
+ when the arguments are collections, in which case it will validate their values.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.Validate.SafeEquals(System.Object,System.Object)">
+ <summary>
+ This method is safe for use even if any of the objects is a mocked object
+ that override equals.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Impl.VerifiedMockState">
+ <summary>
+ Throw an object already verified when accessed
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.#ctor(Rhino.Mocks.Interfaces.IMockState)">
+ <summary>
+ Create a new instance of VerifiedMockState
+ </summary>
+ <param name="previous">The previous mock state, used to get the initial record state</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.MethodCall(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Add a method call for this state' mock.
+ </summary>
+ <param name="invocation">The invocation for this method</param>
+ <param name="method">The method that was called</param>
+ <param name="args">The arguments this method was called with</param>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.Verify">
+ <summary>
+ Verify that this mock expectations have passed.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.Replay">
+ <summary>
+ Verify that we can move to replay state and move
+ to the reply state.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.BackToRecord">
+ <summary>
+ Gets a mock state that match the original mock state of the object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.GetLastMethodOptions``1">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.SetExceptionToThrowOnVerify(System.Exception)">
+ <summary>
+ Set the exception to throw when Verify is called.
+ This is used to report exception that may have happened but where caught in the code.
+ This way, they are reported anyway when Verify() is called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Impl.VerifiedMockState.NotifyCallOnPropertyBehavior">
+ <summary>
+ not relevant
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.VerifiedMockState.VerifyState">
+ <summary>
+ Gets the matching verify state for this state
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Impl.VerifiedMockState.LastMethodOptions">
+ <summary>
+ Get the options for the last method call
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Interfaces.IMethodRecorder">
+ <summary>
+ Records the actions on all the mocks created by a repository.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.Record(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Records the specified call with the specified args on the mocked object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Get the expectation for this method on this object with this arguments
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetRepeatableExpectation(System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ This check the methods that were setup using the SetupResult.For()
+ or LastCall.Repeat.Any() and that bypass the whole expectation model.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetAllExpectationsForProxyAndMethod(System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Gets the all expectations for a mocked object and method combination,
+ regardless of the expected arguments / callbacks / contraints.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ <param name="method">Method.</param>
+ <returns>List of all relevant expectation</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetAllExpectationsForProxy(System.Object)">
+ <summary>
+ Gets the all expectations for proxy.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ <returns>List of all relevant expectation</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.RemoveAllRepeatableExpectationsForProxy(System.Object)">
+ <summary>
+ Removes all the repeatable expectations for proxy.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.ReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Replaces the old expectation with the new expectation for the specified proxy/method pair.
+ This replace ALL expectations that equal to old expectations.
+ </summary>
+ <param name="proxy">Proxy.</param>
+ <param name="method">Method.</param>
+ <param name="oldExpectation">Old expectation.</param>
+ <param name="newExpectation">New expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.AddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Adds the recorder and turn it into the active recorder.
+ </summary>
+ <param name="recorder">Recorder.</param>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.MoveToPreviousRecorder">
+ <summary>
+ Moves to previous recorder.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Gets the recorded expectation or null.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.GetExpectedCallsMessage">
+ <summary>
+ Gets the next expected calls string.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.MoveToParentReplayer">
+ <summary>
+ Moves to parent recorder.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.AddToRepeatableMethods(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Set the expectation so it can repeat any number of times.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.RemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Removes the expectation from the recorder
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.ClearReplayerToCall(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Clear the replayer to call (and all its chain of replayers)
+ This also removes it from the list of expectations, so it will never be considered again
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Interfaces.IMethodRecorder.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Get the expectation for this method on this object with this arguments
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Interfaces.IMethodRecorder.HasExpectations">
+ <summary>
+ Gets a value indicating whether this instance has expectations that weren't satisfied yet.
+ </summary>
+ <value>
+ <c>true</c> if this instance has expectations; otherwise, <c>false</c>.
+ </value>
+ </member>
+ <member name="T:Rhino.Mocks.LastCall">
+ <summary>
+ Allows to set various options for the last method call on
+ a specified object.
+ If the method has a return value, it's recommended to use Expect
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.On(System.Object)">
+ <summary>
+ Allows to get an interface to work on the last call.
+ </summary>
+ <param name="mockedInstance">The mocked object</param>
+ <returns>Interface that allows to set options for the last method call on this object</returns>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Return``1(``0)">
+ <summary>
+ Set the return value for the method.
+ </summary>
+ <param name="objToReturn">The object the method will return</param>
+ <returns>IRepeat that defines how many times the method will return this value</returns>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Return(System.Object)">
+ <summary>
+ Set the return value for the method. This overload is needed for LastCall.Return(null)
+ </summary>
+ <param name="objToReturn">The object the method will return</param>
+ <returns>IRepeat that defines how many times the method will return this value</returns>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Throw(System.Exception)">
+ <summary>
+ Throws the specified exception when the method is called.
+ </summary>
+ <param name="exception">Exception to throw</param>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.IgnoreArguments">
+ <summary>
+ Ignores the arguments for this method. Any argument will be matched
+ againt this method.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Constraints(Rhino.Mocks.Constraints.AbstractConstraint[])">
+ <summary>
+ Add constraints for the method's arguments.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback(System.Delegate)">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback(Rhino.Mocks.Delegates.Function{System.Boolean})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``1(Rhino.Mocks.Delegates.Function{System.Boolean,``0})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``2(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``3(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``4(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``5(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``6(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``7(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``8(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``9(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Callback``10(Rhino.Mocks.Delegates.Function{System.Boolean,``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
+ <summary>
+ Set a callback method for the last call
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.CallOriginalMethod">
+ <summary>
+ Call the original method on the class, bypassing the mocking layers, for the last call.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.CallOriginalMethod(Rhino.Mocks.Interfaces.OriginalCallOptions)">
+ <summary>
+ Call the original method on the class, optionally bypassing the mocking layers, for the last call.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Do(System.Delegate)">
+ <summary>
+ Set a delegate to be called when the expectation is matched.
+ The delegate return value will be returned from the expectation.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.GetEventRaiser">
+ <summary>
+ Gets an interface that will raise the last event when called.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.OutRef(System.Object[])">
+ <summary>
+ Set the parameter values for out and ref parameters.
+ This is done using zero based indexing, and _ignoring_ any non out/ref parameter.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.Message(System.String)">
+ <summary>
+ Documentation message for the expectation
+ </summary>
+ <param name="documentationMessage">Message</param>
+ </member>
+ <member name="M:Rhino.Mocks.LastCall.PropertyBehavior">
+ <summary>
+ Use the property as a simple property, getting/setting the values without
+ causing mock expectations.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.LastCall.Repeat">
+ <summary>
+ Better syntax to define repeats.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.MethodRecorders.MethodRecorderBase">
+ <summary>
+ Base class for method recorders, handle delegating to inner recorder if needed.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.recordedActions">
+ <summary>
+ List of the expected actions on for this recorder
+ The legal values are:
+ * Expectations
+ * Method Recorders
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.recorderToCall">
+ <summary>
+ The current recorder.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.replayerToCall">
+ <summary>
+ The current replayer;
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.parentRecorder">
+ <summary>
+ The parent recorder of this one, may be null.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.replayersToIgnoreForThisCall">
+ <summary>
+ This contains a list of all the replayers that should be ignored
+ for a spesific method call. A replayer gets into this list by calling
+ ClearReplayerToCall() on its parent. This list is Clear()ed on each new invocation.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.repeatableMethods">
+ <summary>
+ All the repeatable methods calls.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.MethodRecorderBase.recursionDepth">
+ <summary>
+ Counts the recursion depth of the current expectation search stack
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.#ctor(Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.MethodRecorderBase"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.#ctor(Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.MethodRecorderBase"/> instance.
+ </summary>
+ <param name="parentRecorder">Parent recorder.</param>
+ <param name="repeatableMethods">Repeatable methods</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.Record(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Records the specified call with the specified args on the mocked object.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Get the expectation for this method on this object with this arguments
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetAllExpectationsForProxyAndMethod(System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Gets the all expectations for a mocked object and method combination,
+ regardless of the expected arguments / callbacks / contraints.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ <param name="method">Method.</param>
+ <returns>List of all relevant expectation</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetAllExpectationsForProxy(System.Object)">
+ <summary>
+ Gets the all expectations for proxy.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ <returns>List of all relevant expectation</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.ReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Replaces the old expectation with the new expectation for the specified proxy/method pair.
+ This replace ALL expectations that equal to old expectations.
+ </summary>
+ <param name="proxy">Proxy.</param>
+ <param name="method">Method.</param>
+ <param name="oldExpectation">Old expectation.</param>
+ <param name="newExpectation">New expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.RemoveAllRepeatableExpectationsForProxy(System.Object)">
+ <summary>
+ Remove the all repeatable expectations for proxy.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.AddToRepeatableMethods(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Set the expectation so it can repeat any number of times.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.RemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Removes the expectation from the recorder
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.AddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Adds the recorder and turn it into the active recorder.
+ </summary>
+ <param name="recorder">Recorder.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.MoveToPreviousRecorder">
+ <summary>
+ Moves to previous recorder.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.MoveToParentReplayer">
+ <summary>
+ Moves to parent recorder.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Gets the recorded expectation or null.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.ClearReplayerToCall(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Clear the replayer to call (and all its chain of replayers).
+ This also removes it from the list of expectations, so it will never be considered again
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Get the expectation for this method on this object with this arguments
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetExpectedCallsMessage">
+ <summary>
+ Gets the next expected calls string.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoGetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Handles the real getting of the recorded expectation or null.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoRecord(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoGetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoGetAllExpectationsForProxy(System.Object)">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoRemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoAddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.ShouldConsiderThisReplayer(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Should this replayer be considered valid for this call?
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.MethodRecorderBase.GetRepeatableExpectation(System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ This check the methods that were setup using the SetupResult.For()
+ or LastCall.Repeat.Any() and that bypass the whole expectation model.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.MethodRecorderBase.HasExpectations">
+ <summary>
+ Gets a value indicating whether this instance has expectations that weren't satisfied yet.
+ </summary>
+ <value>
+ <c>true</c> if this instance has expectations; otherwise, <c>false</c>.
+ </value>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.MethodRecorderBase.DoHasExpectations">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder">
+ <summary>
+ Ordered collection of methods, methods must arrive in specified order
+ in order to pass.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder">
+ <summary>
+ Unordered collection of method records, any expectation that exist
+ will be matched.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.parentRecorderRedirection">
+ <summary>
+ The parent recorder we have redirected to.
+ Useful for certain edge cases in orderring.
+ See: FieldProblem_Entropy for the details.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.#ctor(Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder"/> instance.
+ </summary>
+ <param name="parentRecorder">Parent recorder.</param>
+ <param name="repeatableMethods">Repeatable methods</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.#ctor(Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoRecord(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Records the specified call with the specified args on the mocked object.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ <param name="method">Method.</param>
+ <param name="expectation">Expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoGetRecordedExpectation(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Get the expectation for this method on this object with this arguments
+ </summary>
+ <param name="invocation">Invocation for this method</param>
+ <param name="proxy">Mocked object.</param>
+ <param name="method">Method.</param>
+ <param name="args">Args.</param>
+ <returns>True is the call was recorded, false otherwise</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.GetAllExpectationsForProxyAndMethod(System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Gets the all expectations for a mocked object and method combination,
+ regardless of the expected arguments / callbacks / contraints.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ <param name="method">Method.</param>
+ <returns>List of all relevant expectation</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoGetAllExpectationsForProxy(System.Object)">
+ <summary>
+ Gets the all expectations for proxy.
+ </summary>
+ <param name="proxy">Mocked object.</param>
+ <returns>List of all relevant expectation</returns>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoReplaceExpectation(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Replaces the old expectation with the new expectation for the specified proxy/method pair.
+ This replace ALL expectations that equal to old expectations.
+ </summary>
+ <param name="proxy">Proxy.</param>
+ <param name="method">Method.</param>
+ <param name="oldExpectation">Old expectation.</param>
+ <param name="newExpectation">New expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoRemoveExpectation(Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoGetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Handles the real getting of the recorded expectation or null.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoAddRecorder(Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Handle the real execution of this method for the derived class
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.GetExpectedCallsMessage">
+ <summary>
+ Gets the next expected calls string.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Create an exception for an unexpected method call.
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.UnorderedMethodRecorder.DoHasExpectations">
+ <summary>
+ Gets a value indicating whether this instance has expectations that weren't satisfied yet.
+ </summary>
+ <value>
+ <c>true</c> if this instance has expectations; otherwise, <c>false</c>.
+ </value>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.#ctor(Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder"/> instance.
+ </summary>
+ <param name="parentRecorder">Parent recorder.</param>
+ <param name="repeatableMethods">Repetable methods</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.#ctor(Rhino.Mocks.Generated.ProxyMethodExpectationsDictionary)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.DoGetRecordedExpectationOrNull(System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Handles the real getting of the recorded expectation or null.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.UnexpectedMethodCall(Castle.Core.Interceptor.IInvocation,System.Object,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Get the expectation for this method on this object with this arguments
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.OrderedMethodRecorder.GetExpectedCallsMessage">
+ <summary>
+ Gets the next expected calls string.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet">
+ <summary>
+ Hold an expectation for a method call on an object
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.#ctor(System.Object,System.Reflection.MethodInfo,Rhino.Mocks.Interfaces.IExpectation)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet"/> instance.
+ </summary>
+ <param name="proxy">Proxy.</param>
+ <param name="method">Method.</param>
+ <param name="expectation">Expectation.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Equals(System.Object)">
+ <summary>
+ Determines if the object equal to this instance
+ </summary>
+ <param name="obj">Obj.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.GetHashCode">
+ <summary>
+ Gets the hash code.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Proxy">
+ <summary>
+ Gets the proxy.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Method">
+ <summary>
+ Gets the method.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodExpectationTriplet.Expectation">
+ <summary>
+ Gets the expectation.
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.MethodRecorders.ProxyMethodPair">
+ <summary>
+ Holds a pair of mocked object and a method
+ and allows to compare them against each other.
+ This allows us to have a distinction between mockOne.MyMethod() and
+ mockTwo.MyMethod()...
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodPair.#ctor(System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.ProxyMethodPair"/> instance.
+ </summary>
+ <param name="proxy">Proxy.</param>
+ <param name="method">Method.</param>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodPair.Equals(System.Object)">
+ <summary>
+ Determines whatever obj equals to this instance.
+ ProxyMethodPairs are equal when they point to the same /instance/ of
+ an object, and to the same method.
+ </summary>
+ <param name="obj">Obj.</param>
+ <returns></returns>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.ProxyMethodPair.GetHashCode">
+ <summary>
+ Gets the hash code.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodPair.Proxy">
+ <summary>
+ Gets the proxy.
+ </summary>
+ <value></value>
+ </member>
+ <member name="P:Rhino.Mocks.MethodRecorders.ProxyMethodPair.Method">
+ <summary>
+ Gets the method.
+ </summary>
+ <value></value>
+ </member>
+ <member name="T:Rhino.Mocks.MethodRecorders.RecorderChanger">
+ <summary>
+ Change the recorder from ordered to unordered and vice versa
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.RecorderChanger.#ctor(Rhino.Mocks.MockRepository,Rhino.Mocks.Interfaces.IMethodRecorder,Rhino.Mocks.Interfaces.IMethodRecorder)">
+ <summary>
+ Creates a new <see cref="T:Rhino.Mocks.MethodRecorders.RecorderChanger"/> instance.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.MethodRecorders.RecorderChanger.Dispose">
+ <summary>
+ Disposes this instance.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Mocker">
+ <summary>
+ Accessor for the current mocker
+ </summary>
+ </member>
+ <member name="P:Rhino.Mocks.Mocker.Current">
+ <summary>
+ The current mocker
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.RhinoMocks">
+ <summary>
+ Used for [assembly: InternalsVisibleTo(RhinoMocks.StrongName)]
+ Used for [assembly: InternalsVisibleTo(RhinoMocks.NormalName)]
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.RhinoMocks.StrongName">
+ <summary>
+ Strong name for the Dynamic Proxy assemblies. Used for InternalsVisibleTo specification.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.RhinoMocks.NormalName">
+ <summary>
+ Normal name for dynamic proxy assemblies. Used for InternalsVisibleTo specification.
+ </summary>
+ </member>
+ <member name="F:Rhino.Mocks.RhinoMocks.Logger">
+ <summary>
+ Logs all method calls for methods
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.SetupResult">
+ <summary>
+ Setup method calls to repeat any number of times.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.SetupResult.For``1(``0)">
+ <summary>
+ Get the method options and set the last method call to repeat
+ any number of times.
+ This also means that the method would transcend ordering
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.SetupResult.On(System.Object)">
+ <summary>
+ Get the method options for the last method call on the mockInstance and set it
+ to repeat any number of times.
+ This also means that the method would transcend ordering
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Utilities.MethodCallUtil">
+ <summary>
+ Utility class for working with method calls.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Utilities.MethodCallUtil.StringPresentation(Castle.Core.Interceptor.IInvocation,Rhino.Mocks.Utilities.MethodCallUtil.FormatArgumnet,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Return the string representation of a method call and its arguments.
+ </summary>
+ <param name="method">The method</param>
+ <param name="args">The method arguments</param>
+ <param name="invocation">Invocation of the method, used to get the generics arguments</param>
+ <param name="format">Delegate to format the parameter</param>
+ <returns>The string representation of this method call</returns>
+ </member>
+ <member name="M:Rhino.Mocks.Utilities.MethodCallUtil.StringPresentation(Castle.Core.Interceptor.IInvocation,System.Reflection.MethodInfo,System.Object[])">
+ <summary>
+ Return the string representation of a method call and its arguments.
+ </summary>
+ <param name="invocation">The invocation of the method, used to get the generic parameters</param>
+ <param name="method">The method</param>
+ <param name="args">The method arguments</param>
+ <returns>The string representation of this method call</returns>
+ </member>
+ <member name="T:Rhino.Mocks.Utilities.MethodCallUtil.FormatArgumnet">
+ <summary>
+ Delegate to format the argument for the string representation of
+ the method call.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Utilities.ReturnValueUtil">
+ <summary>
+ Utility to get the default value for a type
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.Utilities.ReturnValueUtil.DefaultValue(System.Type,Castle.Core.Interceptor.IInvocation)">
+ <summary>
+ The default value for a type.
+ Null for reference types and void
+ 0 for value types.
+ First element for enums
+ Note that we need to get the value even for opened generic types, such as those from
+ generic methods.
+ </summary>
+ <param name="type">Type.</param>
+ <param name="invocation">The invocation.</param>
+ <returns>the default value</returns>
+ </member>
+ <member name="T:Rhino.Mocks.With">
+ <summary>
+ Allows easier access to MockRepository, works closely with Mocker.Current to
+ allow access to a context where the mock repository is automatially verified at
+ the end of the code block.
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.With.Mocks(Rhino.Mocks.With.Proc)">
+ <summary>
+ Initialize a code block where Mocker.Current is initialized.
+ At the end of the code block, all the expectation will be verified.
+ This overload will create a new MockRepository.
+ </summary>
+ <param name="methodCallThatHasMocks">The code that will be executed under the mock context</param>
+ </member>
+ <member name="M:Rhino.Mocks.With.Mocks(Rhino.Mocks.MockRepository,Rhino.Mocks.With.Proc)">
+ <summary>
+ Initialize a code block where Mocker.Current is initialized.
+ At the end of the code block, all the expectation will be verified.
+ This overload will create a new MockRepository.
+ </summary>
+ <param name="mocks">The mock repository to use, at the end of the code block, VerifyAll() will be called on the repository.</param>
+ <param name="methodCallThatHasMocks">The code that will be executed under the mock context</param>
+ </member>
+ <member name="M:Rhino.Mocks.With.Mocks(Rhino.Mocks.MockRepository)">
+ <summary>
+ Create a FluentMocker
+ </summary>
+ <param name="mocks">The mock repository to use.</param>
+ </member>
+ <member name="T:Rhino.Mocks.With.Proc">
+ <summary>
+ A method with no arguments and no return value that will be called under the mock context.
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.With.FluentMocker">
+ <summary>
+ FluentMocker implements some kind of fluent interface attempt
+ for saying "With the Mocks [mocks], Expecting (in same order) [things] verify [that]."
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.With.IMockVerifier">
+ <summary>
+ Interface to verify previously defined expectations
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.With.IMockVerifier.Verify(Rhino.Mocks.With.Proc)">
+ <summary>
+ Verifies if a piece of code
+ </summary>
+ </member>
+ <member name="M:Rhino.Mocks.With.FluentMocker.Expecting(Rhino.Mocks.With.Proc)">
+ <summary>
+ Defines unordered expectations
+ </summary>
+ <param name="methodCallsDescribingExpectations">A delegate describing the expectations</param>
+ <returns>an IMockVerifier</returns>
+ </member>
+ <member name="M:Rhino.Mocks.With.FluentMocker.ExpectingInSameOrder(Rhino.Mocks.With.Proc)">
+ <summary>
+ Defines ordered expectations
+ </summary>
+ <param name="methodCallsDescribingExpectations">A delegate describing the expectations</param>
+ <returns>an IMockVerifier</returns>
+ </member>
+ <member name="M:Rhino.Mocks.With.FluentMocker.Verify(Rhino.Mocks.With.Proc)">
+ <summary>
+ Verifies previously defined expectations
+ </summary>
+ </member>
+ <member name="T:Rhino.Mocks.Function`2">
+ <summary>
+ This delegate is compatible with the System.Func{T,R} signature
+ We have to define our own to get compatability with 2.0
+ </summary>
+ </member>
+ <member name="T:__ProtectAttribute">
+ <summary>
+ This attribute is here so we can get better Pex integration
+ Using this means that Pex will not try to inspect the work of
+ the actual proxies being generated by Rhino Mocks
+ </summary>
+ </member>
+ </members>
+</doc>