Пример #1
0
        private string GetPath()
        {
            var path = _member.GetPath();

            return(path.StartsWith(PathPrefix, StringComparison.Ordinal)
                ? path.Substring(PathPrefix.Length)
                : path);
        }
Пример #2
0
        private string GetPath()
        {
            var path = _targetMember.GetPath();

            return(path.StartsWith("Target.", StringComparison.Ordinal)
                ? path.Substring("Target.".Length)
                : path);
        }