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