Exemplo n.º 1
0
        private void Include(string propertyPath)
        {
            propertyPath = DotPathHelper.TrimDots(propertyPath);

            while (propertyPath.Contains("."))
            {
                m_inclusions.Add(propertyPath);
                propertyPath = DotPathHelper.GetParent(propertyPath);
            }
        }
Exemplo n.º 2
0
 public void TestGetParent(string inp, string exp)
 {
     Assert.Equal(exp, DotPathHelper.GetParent(inp));
 }