Click or drag to resize

ExtensionMethodsCopy Method

Deep copy the given TestStep from the original by using serialization.

Namespace:  Hummingbird.TestFramework
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static TestStepBase Copy(
	this TestStepBase original,
	out string content
)

Parameters

original
Type: Hummingbird.TestFramework.AutomationTestStepBase
The original TestStepBase object.
content
Type: SystemString
The content in XML of the deserialzed object representing the original

Return Value

Type: TestStepBase
A TestStepBase object, deep copied from the original test step.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TestStepBase. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also