Export (0) Print
Expand All

BaseShadow.GetShadowAttacher Method

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
)

Parameters

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.

Show:
© 2014 Microsoft