Table of Contents

Class RegexRule

Namespace
MonoGame.Framework.Content.Pipeline.Builder
Assembly
MonoGame.Framework.Content.Pipeline.dll

A regex based rule by which ContentCollection includes or excludes the files.

public class RegexRule : ContentRule
Inheritance
RegexRule
Inherited Members

Methods

IsMatch(string)

Used in ContentCollection to check if the passed filePath matches the current Regex Pattern.

public override bool IsMatch(string filePath)

Parameters

filePath string

Relative path to the content file.

Returns

bool

Returns true if filePath matches the Pattern.