BaseShadow Class
This class is used by the publicize method to help test private types.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
| Name | Description | |
|---|---|---|
![]() | BaseShadow(PrivateObject^) | Initializes a new instance of the BaseShadow class. |
![]() | BaseShadow(PrivateType^) | Initializes a new instance of the BaseShadow class. |
| Name | Description | |
|---|---|---|
![]() | Target | Gets the target object. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified Object is equal to the current Object.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Returns the hash code for this instance.(Overrides Object::GetHashCode().) |
![]() ![]() | GetShadowAttacher(Type^) | Used for dynamically restoring of arrays of private types. |
![]() ![]() | GetTargetObject(Object^) | Static function that will be used with TransferArray for deep array copy with unshadowing the real target Type objects. |
![]() ![]() | GetTargetType(Type^) | Returns the target Type for a potential shadow class. |
![]() | GetType() | (Inherited from Object.) |
![]() ![]() | MakeArrayType(Type^, Int32) | Returns a Type object that represents an array of the specified type, with the specified number of dimensions. |
![]() ![]() | MakeByRefType(Type^) | Returns a Type object that represents the specified type when it is passed as a ref parameter. |
![]() ![]() | MakePointerType(Type^) | Returns a Type object that represents a pointer to the specified type. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() ![]() | Same(Object^) | Dummy method used to transfer the arrays of the same Type. This is the failsafe implementation of the BaseShadow::ElementConverter delegate used for arrays of the same type. |
![]() | ToString() | Returns a String that represents the current BaseShadow object.(Overrides Object::ToString().) |
![]() ![]() | TransferArray(Array^, Type^, BaseShadow::ElementConverter^) |
| Name | Description | |
|---|---|---|
![]() ![]() | AttachShadowName | The name of the static method in derived classes. |
![]() | m_privateObject | The PrivateObject stored in this instance. |
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





