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
string

The path string to check.

Returns

bool

Returns true if the file is a text file.