public void SetParent(Suite parent) { Parent = parent; SuiteName = parent == null ? string.Empty : string.Format("{0}/{1}", parent.GetProjectName(), parent.GetPath().Locator); SuiteName = SuiteName.Trim('/'); }
public override int GetHashCode() { unchecked { return(((Name != null ? Name.GetHashCode() : 0) * 397) ^ (SuiteName != null ? SuiteName.GetHashCode() : 0)); } }