ResourceTypeDetectorDetectTypeFromFilename Method
Detects a type from specified filename and returns an instance of respective IResourceType

Namespace: GroupDocs.Editor.HtmlCss.Resources
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.4.0.0
Syntax
public static IResourceType DetectTypeFromFilename(
	string filename
)

Parameters

filename
Type: SystemString
Input filename, from which this method will try to extract the resultant IResourceType implementation

Return Value

Type: IResourceType
IResourceType implementation on success or NULL on failure
See Also