~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit/NGit.Api/GitCommand.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        /// this command should work with.
67
67
        /// <p>
68
68
        /// Finally this class stores a state telling whether it is allowed to call
69
 
        /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
69
        /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
70
70
        /// on this instance. Instances of
71
71
        /// <see cref="GitCommand{T}">GitCommand&lt;T&gt;</see>
72
72
        /// can only be
73
73
        /// used for one single successful call to
74
 
        /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
74
        /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
75
75
        /// . Afterwards this
76
76
        /// instance may not be used anymore to set/modify any properties or to call
77
 
        /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
77
        /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
78
78
        /// again. This is achieved by setting the
79
79
        /// <see cref="GitCommand{T}.callable">GitCommand&lt;T&gt;.callable</see>
80
80
        /// property to false after the successful execution of
81
 
        /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
81
        /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
82
82
        /// and to
83
83
        /// check the state (by calling
84
84
        /// <see cref="GitCommand{T}.CheckCallable()">GitCommand&lt;T&gt;.CheckCallable()</see>
85
85
        /// ) before setting of
86
86
        /// properties and inside
87
 
        /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
87
        /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
88
88
        /// .
89
89
        /// </summary>
90
90
        /// <?></?>
95
95
 
96
96
                /// <summary>
97
97
                /// a state which tells whether it is allowed to call
98
 
                /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
98
                /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
99
99
                /// on this
100
100
                /// instance.
101
101
                /// </summary>
124
124
 
125
125
                /// <summary>
126
126
                /// Set's the state which tells whether it is allowed to call
127
 
                /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
127
                /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
128
128
                /// on this instance.
129
129
                /// <see cref="GitCommand{T}.CheckCallable()">GitCommand&lt;T&gt;.CheckCallable()</see>
130
130
                /// will throw an exception when
133
133
                /// </summary>
134
134
                /// <param name="callable">
135
135
                /// if <code>true</code> it is allowed to call
136
 
                /// <see cref="Sharpen.Callable{V}.Call()">Sharpen.Callable&lt;V&gt;.Call()</see>
 
136
                /// <see cref="GitCommand{T}.Call()">GitCommand&lt;T&gt;.Call()</see>
137
137
                /// on
138
138
                /// this instance.
139
139
                /// </param>
167
167
                        }
168
168
                }
169
169
 
 
170
                /// <summary>Executes the command</summary>
 
171
                /// <returns>T a result. Each command has its own return type</returns>
 
172
                /// <exception cref="NGit.Api.Errors.GitAPIException">or subclass thereof when an error occurs
 
173
                ///     </exception>
170
174
                public abstract T Call();
171
175
        }
172
176
}