EsmPathPattern class
namespace: Serenity.Web assembly: Serenity.Net.Web
A glob pattern for EsmAccessControlOptions, which matches a path relative to an esm folder, or the full request path if it starts with a slash. Supports ** (any characters), * (any characters except a slash) and ? (a single character except a slash). Matching is case-insensitive.
public class EsmPathPattern
Public Members
| name | description |
|---|---|
| EsmPathPattern(…) | Creates a new pattern. |
| IsFullPath { get; } | True if the pattern matches the full request path, e.g. it starts with a slash. |
| Pattern { get; } | The glob pattern. |
| IsMatch(…) | Returns true if the pattern matches the file. |
| static ParseList(…) | Parses semicolon separated patterns. |
See Also
- Source: EsmPathPattern.cs