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

PushStatusError.cs « LibGit2Sharp - github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6675801a2ee211094a5dc07acf8bcd03b34f39ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace LibGit2Sharp
{
    /// <summary>
    /// Information on an error updating reference on remote during a push.
    /// </summary>
    public class PushStatusError
    {
        /// <summary>
        /// Needed for mocking purposes.
        /// </summary>
        protected PushStatusError()
        { }

        /// <summary>
        /// The reference this status refers to.
        /// </summary>
        public virtual string Reference { get; private set; }

        /// <summary>
        /// The message regarding the update of this reference.
        /// </summary>
        public virtual string Message { get; private set; }

        internal PushStatusError(string reference, string message)
        {
            Reference = reference;
            Message = message;
        }
    }
}