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