Exemple #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);
 }
Exemple #2
0
 public bool Equals(GitUser other)
 {
     return
         (String.Equals(name, other.name) &&
          String.Equals(email, other.email)
         );
 }
Exemple #3
0
 public bool Equals(GitUser other)
 {
     return
         (String.Equals(name, other.name) &&
          Email.Equals(other.Email));
 }