The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BaseShadow.GetShadowAttacher Method (Type)


Used for dynamically restoring of arrays of private types.

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

protected static BaseShadow.ElementConverter GetShadowAttacher(
	Type type


Type: System.Type

The type, potentially an array or pointer.

Obtains dynamically the AttachShadow static method for the given type, looking deeply for the inner element type. For example, for typeof(privateObject_Shadow[,][,]) GetShadowAttacher will return privateObject_Shadow.AttachShadow.

Return to top