Repository.

Execute<TResult>(IMercurialCommand<TResult>) Method

Summary

Executes the given IMercurialCommand<TResult> command against the Mercurial repository, returning the result as a typed value.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
Repository

Syntax

public TResult Execute<TResult>(IMercurialCommand<TResult> command)

Type Parameters

Name Description
TResult The type of result that is returned from executing the command.

Parameters

Name Type Description
command IMercurialCommand<TResult> The IMercurialCommand<TResult> command to execute.

Return Value

Type Description
TResult The result of executing the command.