Udostępnij za pośrednictwem


BaseShadow Class

This class is used by the publicize method to help test private types.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Class BaseShadow
'Usage
Dim instance As BaseShadow
public class BaseShadow
public ref class BaseShadow
public class BaseShadow

Remarks

Public Type accessors that use the PrivateObject class to test private types must inherit from this class.

Use this as a base class to inherit from. Do not call the methods of this class directly.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UnitTesting.BaseShadow

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.

See Also

Reference

BaseShadow Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace