示例#1
0
        private void Include(string propertyPath)
        {
            propertyPath = DotPathHelper.TrimDots(propertyPath);

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