GeneratedTestClassBase.Make Method

Creates and initializes a structure or compound value. This method supports the generated test cases and is not intended to be used directly from your code.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public T Make<T> (
    string[] fieldNames,
    Object[] fieldValues
)

GenericParameters

  • T
    The type of the structure.

Parameters

  • fieldNames
    An array that contains the names of the fields of the structure to initialize with the values from fieldValues.
  • fieldValues
    An array that contains the values with which to initialize the fields.

Return Value

A new instance of the structure or compound value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

GeneratedTestClassBase Class
GeneratedTestClassBase Members
Microsoft.SpecExplorer.Runtime.Testing Namespace