PathSeparatorConfiguration.md

January 20, 2026 · View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core

PathSeparatorConfiguration Class

Configuration for path separators.

public sealed record PathSeparatorConfiguration : System.IEquatable<Atypical.VirtualFileSystem.Core.PathSeparatorConfiguration>

Inheritance System.Object 🡒 PathSeparatorConfiguration

Implements System.IEquatable<PathSeparatorConfiguration>

Properties
AllSeparatorsGets all accepted path separators.
AlternativeSeparatorsGets or sets alternative path separators that are accepted. Default accepts both '/' and '\'.
DefaultGets the default path separator configuration.
PrimarySeparatorGets or sets the primary path separator. Default is '/'.
Methods
UnixOnly()Creates a configuration that only accepts forward slashes.
WindowsOnly()Creates a configuration that only accepts backslashes.