A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
583 B

namespace Perspex.Xaml.DataBinding.ChangeTracking
{
public class PropertyPath
{
private string[] chunks;
private PropertyPath(PropertyPath propertyPath)
{
this.chunks = propertyPath.Chunks;
}
public PropertyPath(string path)
{
chunks = path.Split('.');
}
public string[] Chunks
{
get { return chunks; }
set { chunks = value; }
}
public PropertyPath Clone()
{
return new PropertyPath(this);
}
}
}