예제 #1
0
 public GitLock(string id, NPath path, GitUser owner, DateTimeOffset locked_at)
 {
     this.id             = id;
     this.path           = path.IsInitialized ? path.ToString() : null;
     this.owner          = owner;
     this.lockedAtString = locked_at.ToUniversalTime().ToString(Constants.Iso8601FormatZ, CultureInfo.InvariantCulture);
 }
예제 #2
0
 public bool Equals(GitUser other)
 {
     return
         (String.Equals(name, other.name) &&
          String.Equals(email, other.email)
         );
 }
예제 #3
0
 public bool Equals(GitUser other)
 {
     return
         (String.Equals(name, other.name) &&
          Email.Equals(other.Email));
 }