C# Class NProxy.Core.Test.MemberAssert

Represents member verification methods.
Afficher le fichier Open project: mtamme/NProxy Class Usage Examples

Méthodes publiques

Méthode Description
AreEquivalent ( ConstructorInfo actual, ConstructorInfo expected ) : void

Verifies that two constructors are equivalent.

AreEquivalent ( EventInfo actual, EventInfo expected, bool isExplicit ) : void

Verifies that two events are equivalent.

AreEquivalent ( MethodInfo actual, MethodInfo expected, bool isExplicit ) : void

Verifies that two methods are equivalent.

AreEquivalent ( PropertyInfo actual, PropertyInfo expected, bool isExplicit ) : void

Verifies that two properties are equivalent.

Private Methods

Méthode Description
AreMembersEquivalent ( MemberInfo actual, MemberInfo expected ) : void

Verifies that two members are equivalent.

AreParametersEquivalent ( IList actual, IList expected ) : void

Verifies that two lists of parameters are equivalent.

AreParametersEquivalent ( ParameterInfo actual, ParameterInfo expected ) : void

Verifies that two parameters are equivalent.

AreTypesEquivalent ( IList actual, IList expected ) : void

Verifies that two lists of types are equivalent.

AreTypesEquivalent ( Type actual, Type expected ) : void

Verifies that two types are equivalent.

InternalAreEquivalent ( MethodInfo actual, MethodInfo expected, bool isExplicit ) : void

Verifies that two methods are equivalent.

Method Details

AreEquivalent() public static méthode

Verifies that two constructors are equivalent.
public static AreEquivalent ( ConstructorInfo actual, ConstructorInfo expected ) : void
actual System.Reflection.ConstructorInfo The actual constructor information.
expected System.Reflection.ConstructorInfo The expected constructor information.
Résultat void

AreEquivalent() public static méthode

Verifies that two events are equivalent.
public static AreEquivalent ( EventInfo actual, EventInfo expected, bool isExplicit ) : void
actual System.Reflection.EventInfo The actual event information.
expected System.Reflection.EventInfo The expected event information.
isExplicit bool A value indicating whether the actual event is implemented explicitly.
Résultat void

AreEquivalent() public static méthode

Verifies that two methods are equivalent.
public static AreEquivalent ( MethodInfo actual, MethodInfo expected, bool isExplicit ) : void
actual System.Reflection.MethodInfo The actual method information.
expected System.Reflection.MethodInfo The expected method information.
isExplicit bool A value indicating whether the actual method is implemented explicitly.
Résultat void

AreEquivalent() public static méthode

Verifies that two properties are equivalent.
public static AreEquivalent ( PropertyInfo actual, PropertyInfo expected, bool isExplicit ) : void
actual System.Reflection.PropertyInfo The actual property information.
expected System.Reflection.PropertyInfo The expected property information.
isExplicit bool A value indicating whether the actual property is implemented explicitly.
Résultat void