YAXLib.StringUtils.IsSingleLocationGeneric C# (CSharp) Méthode

IsSingleLocationGeneric() public static méthode

Determines whether the specified location string is either "." or "..".
public static IsSingleLocationGeneric ( string location ) : bool
location string The location string to check.
Résultat bool
        public static bool IsSingleLocationGeneric(string location)
        {
            return location == "." || location == "..";
        }