public void AppendScope(StringBuilder sb) { if (NoPathScope != null) { NoPathScope.AppendScope(sb); sb.Append(IncludeSetting.ScopeDelimiter); } RelativeScope.AppendScope(sb); }
public void AppendPath(StringBuilder sb) { Path.AppendPath(sb); foreach (var scope in RelativeScope.EachScope()) { sb.Append(IncludeSetting.PathDelimiter); sb.Append(scope); } }
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); } }