FileHelper.IsMarkup Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

IsMarkup(String)

Returns whether the specified filename is considered markup (html or xml).

public static bool IsMarkup(string path)

Parameters

path
System.String

Returns

System.Boolean

Returns true if the file is a text file.