예제 #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);
            }
        }