コード例 #1
0
 public void AppendScope(StringBuilder sb)
 {
     if (NoPathScope != null)
     {
         NoPathScope.AppendScope(sb);
         sb.Append(IncludeSetting.ScopeDelimiter);
     }
     RelativeScope.AppendScope(sb);
 }
コード例 #2
0
        public void AppendPath(StringBuilder sb)
        {
            Path.AppendPath(sb);

            foreach (var scope in RelativeScope.EachScope())
            {
                sb.Append(IncludeSetting.PathDelimiter);
                sb.Append(scope);
            }
        }
コード例 #3
0
        public IEnumerable <string> EachScope()
        {
            if (NoPathScope != null)
            {
                foreach (var scope in NoPathScope.EachScope())
                {
                    yield return(scope);
                }
            }

            foreach (var scope in RelativeScope.EachScope())
            {
                yield return(scope);
            }
        }