Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Clem <timothy.clem@gmail.com>2011-03-30 20:15:59 +0400
committerTim Clem <timothy.clem@gmail.com>2011-03-30 20:16:08 +0400
commit0bee0993b607b4fb09b148e7a74ef452e72a7600 (patch)
treef5eb96c0f4647c9bf4bb3f6e190010cf8bb63928 /LibGit2Sharp/Signature.cs
parent55863d68d5da224934508a89aca1205c9f49e17f (diff)
Squash up commits on devel branch
This is being done to clean up commit history on master.
Diffstat (limited to 'LibGit2Sharp/Signature.cs')
-rw-r--r--LibGit2Sharp/Signature.cs86
1 files changed, 53 insertions, 33 deletions
diff --git a/LibGit2Sharp/Signature.cs b/LibGit2Sharp/Signature.cs
index 22ff8930..0ec61a8d 100644
--- a/LibGit2Sharp/Signature.cs
+++ b/LibGit2Sharp/Signature.cs
@@ -1,33 +1,53 @@
-using System;
-
-namespace LibGit2Sharp
-{
- public class Signature
- {
- public Signature(string name, string email, DateTimeOffset when)
- {
- Name = name;
- Email = email;
- When = when;
- }
-
- public Signature(string name, string email, GitDate when) : this (name, email, when.ToDateTimeOffset())
- {
- }
-
- /// <summary>
- /// Full name
- /// </summary>
- public string Name { get; private set; }
-
- /// <summary>
- /// Email address
- /// </summary>
- public string Email { get; private set; }
-
- /// <summary>
- /// Time when this person committed the change
- /// </summary>
- public DateTimeOffset When { get; private set; }
- }
-} \ No newline at end of file
+/*
+ * The MIT License
+ *
+ * Copyright (c) 2011 LibGit2Sharp committers
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+using System;
+
+namespace LibGit2Sharp
+{
+ public class Signature
+ {
+ public Signature(string name, string email, DateTimeOffset when)
+ {
+ Name = name;
+ Email = email;
+ When = when;
+ }
+
+ /// <summary>
+ /// Full name
+ /// </summary>
+ public string Name { get; private set; }
+
+ /// <summary>
+ /// Email address
+ /// </summary>
+ public string Email { get; private set; }
+
+ /// <summary>
+ /// Time when this person committed the change
+ /// </summary>
+ public DateTimeOffset When { get; private set; }
+ }
+}