public virtual PathData Detach() { PathData data = new PathData(ID, Path, TemplateUrl, Action, Argument); data.QueryParameters = new Dictionary<string, string>(data.QueryParameters); return data; }
public virtual PathData Attach(Persistence.IPersister persister) { ContentItem item = persister.Repository.Load(ID); PathData data = new PathData(item, TemplateUrl, Action, Argument) { QueryParameters = new Dictionary<string, string>(QueryParameters) }; return data; }