private void Include(string propertyPath) { propertyPath = DotPathHelper.TrimDots(propertyPath); while (propertyPath.Contains(".")) { m_inclusions.Add(propertyPath); propertyPath = DotPathHelper.GetParent(propertyPath); } }
public void TestGetParent(string inp, string exp) { Assert.Equal(exp, DotPathHelper.GetParent(inp)); }