EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Class OSPath

    Represents a platform-agnostic file system path. This record normalizes input paths based on the operating system, providing utility methods to handle file paths in a cross-platform manner.

    Inheritance
    object
    OSPath
    Implements
    IComparable
    IEquatable<OSPath>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: PoeShared.IO
    Assembly: PoeShared.dll
    Syntax
    [JsonConverter(typeof(OSPathConverter))]
    public record OSPath : IComparable, IEquatable<OSPath>

    Constructors

    Name Description
    OSPath(OSPath)
    OSPath(string)

    Fields

    Name Description
    AllSeparators
    Empty
    UnixDirectorySeparator
    WindowsDirectorySeparator

    Properties

    Name Description
    AsUnixPath

    Gets the Unix-style path representation.

    AsWindowsPath

    Gets the Windows-style path representation.

    Depth

    Gets the depth of the path, calculated as the number of directory levels in the path.

    Directory

    Gets the directory name component of the path.

    EqualityContract
    Exists

    Gets a value indicating whether the file denoted by this path exists.

    FullName

    Gets the platform-specific full path.

    Name

    Gets the file name component of the path.

    Methods

    Name Description
    Combine(OSPath)
    Combine(string)
    CompareTo(object)
    Equals(OSPath)
    Equals(object?)
    Equals(string, string)
    GetHashCode()
    PrintMembers(StringBuilder)
    ToString()
    <Clone>$()

    Operators

    Name Description
    operator ==(OSPath?, OSPath?)
    implicit operator OSPath(string)
    operator !=(OSPath?, OSPath?)

    Extension Methods

    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ISourceList<TCollection>)
    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ICollection<TCollection>)
    ObjectExtensions.CloneJson<T>(T)
    ObjectExtensions.CopyPropertiesTo<TSource, TTarget>(TSource, TTarget)
    ObjectExtensions.DumpToJson<T>(T)
    ObjectExtensions.DumpToTextRaw<T>(T)
    ObjectExtensions.DumpToText<T>(T)
    ObjectExtensions.Dump<T>(T)
    ObjectExtensions.EvalOrDefault<T, TValue>(T, Func<T, TValue>, TValue)
    ObjectExtensions.Eval<T, TValue>(T, Func<T, TValue>)
    ObjectExtensions.GetPropertyAccessor<TSource, TValue>(TSource, Expression<Func<TSource, TValue>>)
    ObjectExtensions.InsertTo<TItem, TCollection>(TItem, IList<TCollection>, int)
    ObjectExtensions.ToJson<T>(T, Formatting)
    ObjectExtensions.ToStringSafe<T>(T)
    ObjectExtensions.TransferPropertiesTo<TSource, TTarget>(TSource, TTarget, params string[])
    ObjectExtensions.WaitForAsync<TObject, T1>(TObject, Func<TObject, T1>, Predicate<T1>, TimeSpan, int)
    XDocumentExtensions.AddTo<T>(T, XContainer)
    ObjectExtensions.GetPropertyAccessor<TValue>(object, string)
    ObjectReflectionExtensions.GetPropertyTypeOrDefault(object, string)
    ObjectReflectionExtensions.GetPropertyValue<T>(object, string)
    ObjectReflectionExtensions.SetPropertyValue<T>(object, string, T)
    2025 © Xab3r. All rights reserved.