Spark.Search.Criterium.pathToKeyModifTuple C# (CSharp) Méthode

pathToKeyModifTuple() private static méthode

private static pathToKeyModifTuple ( string pathPart ) : string>.Tuple
pathPart string
Résultat string>.Tuple
        private static Tuple<string, string> pathToKeyModifTuple(string pathPart)
        {
            var pair = pathPart.Split(SearchParams.SEARCH_MODIFIERSEPARATOR);

            string name = pair[0];
            string modifier = pair.Length == 2 ? pair[1] : null;

            return Tuple.Create(name, modifier);
        }