MercurialVersionBase.

GetImplementationFor(Version) Method

Summary

This method finds the correct MercurialVersionBase implementation, based on the version.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Versions
Containing Type
MercurialVersionBase

Syntax

public static MercurialVersionBase GetImplementationFor(Version version)

Parameters

Name Type Description
version Version The version to find the correct MercurialVersionBase implementation for.

Return Value

Type Description
MercurialVersionBase A MercurialVersionBase (or descendant) instance appropriate for the specified version.