Click or drag to resize
DocumentFakeMethodsDocumentTypeT Method
Fakes the given document type

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void DocumentType<T>(
	this IFakeMethods fake,
	string className
)

Parameters

fake
Type: CMS.DataEngineIFakeMethods
Fake methods
className
Type: SystemString
Class name

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IFakeMethods. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also