mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
18 lines
464 B
C#
18 lines
464 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace BepInEx.Configuration
|
|
{
|
|
public static class ConfigurationPath
|
|
{
|
|
public static readonly string KeyDelimiter = ":";
|
|
|
|
public static string Combine(IEnumerable<string> segements)
|
|
{
|
|
segements = segements ?? throw new ArgumentNullException(nameof(segements));
|
|
return string.Join(KeyDelimiter, segements.ToArray());
|
|
}
|
|
}
|
|
}
|