public static void AreEqual(this WfServiceOperationParameterCollection actual, WfServiceOperationParameterConfigurationElementCollection element) { Assert.AreEqual(actual.Count, element.Count); foreach (WfServiceOperationParameter itemActual in actual) { WfServiceOperationParameterConfigurationElement itemElement = element[itemActual.Name]; Assert.IsNotNull(itemElement); itemActual.AreEqual(itemElement); } }
public static void AreEqual(this WfServiceOperationParameter actual, WfServiceOperationParameterConfigurationElement element) { AssertStringEqual(actual.Name, element.Name); Assert.AreEqual(actual.Type, element.Type); AssertStringEqual((string)actual.Value, element.Value); }
public static void AreEqual(this WfServiceOperationParameter actual, WfServiceOperationParameterConfigurationElement element) { AssertStringEqual(actual.Name, element.Name); Assert.AreEqual(actual.Type, element.Type); AssertStringEqual((string)actual.Value, element.Value); }