-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPathX.cs
More file actions
26 lines (23 loc) · 865 Bytes
/
PathX.cs
File metadata and controls
26 lines (23 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using Light.GuardClauses;
namespace Light.ExtendedPath;
/// <summary>
/// Provides methods for processing file system strings in a cross-platform manner,
/// with explicit control over directory separators and path rules.
/// </summary>
public sealed partial class PathX
{
/// <summary>
/// Initializes a new instance of <see cref="PathX" /> with the specified <see cref="PathXOptions" />.
/// </summary>
/// <param name="options">The options controlling separator recognition and path rules.</param>
/// <exception cref="ArgumentNullException">Thrown when <paramref name="options" /> is null.</exception>
public PathX(PathXOptions options)
{
Options = options.MustNotBeNull();
}
/// <summary>
/// Gets the options used by this instance.
/// </summary>
public PathXOptions Options { get; }
}